Some tunes (#549)

This commit is contained in:
KirillPamPam
2024-08-27 13:50:42 +04:00
committed by GitHub
parent 68344cecaf
commit 8ac58f58b7
26 changed files with 140 additions and 63 deletions

View File

@@ -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"))

View File

@@ -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()))