Some tunes (#549)
This commit is contained in:
@@ -40,7 +40,7 @@ class EthereumUpstreamSettingsDetectorSpec extends Specification {
|
||||
def detector = new EthereumUpstreamSettingsDetector(up, Chain.ETHEREUM__MAINNET)
|
||||
|
||||
when:
|
||||
def act = detector.detectLabels()
|
||||
def act = detector.internalDetectLabels()
|
||||
then:
|
||||
StepVerifier.create(act)
|
||||
.expectNext(
|
||||
@@ -72,7 +72,7 @@ class EthereumUpstreamSettingsDetectorSpec extends Specification {
|
||||
def detector = new EthereumUpstreamSettingsDetector(up, Chain.ETHEREUM__MAINNET)
|
||||
|
||||
when:
|
||||
def act = detector.detectLabels()
|
||||
def act = detector.internalDetectLabels()
|
||||
then:
|
||||
StepVerifier.create(act)
|
||||
.expectNext(
|
||||
@@ -113,7 +113,7 @@ class EthereumUpstreamSettingsDetectorSpec extends Specification {
|
||||
}
|
||||
def detector = new EthereumUpstreamSettingsDetector(up, Chain.ETHEREUM__MAINNET)
|
||||
when:
|
||||
def act = detector.detectLabels()
|
||||
def act = detector.internalDetectLabels()
|
||||
then:
|
||||
StepVerifier.create(act)
|
||||
.expectNext(new Pair<String, String>("archive", "false"))
|
||||
|
||||
@@ -444,10 +444,10 @@ class GenericWsHeadTest {
|
||||
StepVerifier.create(wsHead.headLiveness())
|
||||
.expectNext(HeadLivenessState.FATAL_ERROR)
|
||||
.thenCancel()
|
||||
.verify(Duration.ofSeconds(1))
|
||||
.verify(Duration.ofSeconds(2))
|
||||
}
|
||||
.thenCancel()
|
||||
.verify(Duration.ofSeconds(1))
|
||||
.verify(Duration.ofSeconds(3))
|
||||
|
||||
verify(connection, times(2)).callRpc(ChainRequest("eth_chainId", ListParams()))
|
||||
verify(connection, times(2)).callRpc(ChainRequest("net_version", ListParams()))
|
||||
|
||||
Reference in New Issue
Block a user