problem: unit test

rel: [37e3d4e]
This commit is contained in:
Igor Artamonov
2021-09-21 21:54:57 -04:00
parent 37e3d4e252
commit 5586a95063

View File

@@ -71,7 +71,7 @@ class EthereumWsFactoryRealSpec extends Specification {
def "Reconnects after server disconnect"() {
when:
conn.connect()
conn.retryInterval = 2
conn.reconnectIntervalSeconds = 2
Thread.sleep(SLEEP)
server.stop()
Thread.sleep(SLEEP)
@@ -92,7 +92,7 @@ class EthereumWsFactoryRealSpec extends Specification {
when:
server.stop()
Thread.sleep(SLEEP)
conn.retryInterval = 1
conn.reconnectIntervalSeconds = 1
conn.connect()
Thread.sleep(3_000)
server = new MockWSServer(port)
@@ -108,7 +108,7 @@ class EthereumWsFactoryRealSpec extends Specification {
def "Call after reconnect"() {
when:
conn.connect()
conn.retryInterval = 2
conn.reconnectIntervalSeconds = 2
Thread.sleep(SLEEP)
server.stop()
Thread.sleep(SLEEP)