solution: refactor Ethereum WS Connection to a separate class to improve logging and debugging
This commit is contained in:
@@ -10,7 +10,7 @@ import spock.lang.Specification
|
||||
|
||||
import java.time.Duration
|
||||
|
||||
class EthereumWsFactoryRealSpec extends Specification {
|
||||
class WsConnectionRealSpec extends Specification {
|
||||
|
||||
static SLEEP = 500
|
||||
|
||||
@@ -18,7 +18,7 @@ class EthereumWsFactoryRealSpec extends Specification {
|
||||
@Shared
|
||||
MockWSServer server
|
||||
@Shared
|
||||
EthereumWsFactory.EthereumWs conn
|
||||
WsConnection conn
|
||||
|
||||
def setup() {
|
||||
if (System.getenv("CI") == "true") {
|
||||
@@ -33,7 +33,7 @@ import java.time.Duration
|
||||
import java.time.Instant
|
||||
import java.time.temporal.ChronoUnit
|
||||
|
||||
class EthereumWsFactorySpec extends Specification {
|
||||
class WsConnectionSpec extends Specification {
|
||||
|
||||
def "Fetch block"() {
|
||||
setup:
|
||||
Reference in New Issue
Block a user