From 5586a95063c597faa670ad3d81a8a94807123933 Mon Sep 17 00:00:00 2001 From: Igor Artamonov Date: Tue, 21 Sep 2021 21:54:57 -0400 Subject: [PATCH] problem: unit test rel: [37e3d4e] --- .../upstream/ethereum/EthereumWsFactoryRealSpec.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/groovy/io/emeraldpay/dshackle/upstream/ethereum/EthereumWsFactoryRealSpec.groovy b/src/test/groovy/io/emeraldpay/dshackle/upstream/ethereum/EthereumWsFactoryRealSpec.groovy index bf66d4e9..a884b1de 100644 --- a/src/test/groovy/io/emeraldpay/dshackle/upstream/ethereum/EthereumWsFactoryRealSpec.groovy +++ b/src/test/groovy/io/emeraldpay/dshackle/upstream/ethereum/EthereumWsFactoryRealSpec.groovy @@ -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)