problem: CI tests fail
This commit is contained in:
@@ -118,6 +118,7 @@ class TrackEthereumAddressSpec extends Specification {
|
|||||||
.expectNext(exp1).as("First block")
|
.expectNext(exp1).as("First block")
|
||||||
.then {
|
.then {
|
||||||
upstreamMock.nextBlock(BlockContainer.from(block2, TestingCommons.objectMapper()))
|
upstreamMock.nextBlock(BlockContainer.from(block2, TestingCommons.objectMapper()))
|
||||||
|
Thread.sleep(50)
|
||||||
}
|
}
|
||||||
.expectNext(exp2).as("Second block")
|
.expectNext(exp2).as("Second block")
|
||||||
.thenCancel()
|
.thenCancel()
|
||||||
|
|||||||
@@ -235,6 +235,7 @@ class EthereumReaderSpec extends Specification {
|
|||||||
it.totalDifficulty = BigInteger.TWO
|
it.totalDifficulty = BigInteger.TWO
|
||||||
}
|
}
|
||||||
upstream.nextBlock(BlockContainer.from(block2, TestingCommons.objectMapper()))
|
upstream.nextBlock(BlockContainer.from(block2, TestingCommons.objectMapper()))
|
||||||
|
Thread.sleep(50)
|
||||||
act = reader.balance().read(Address.from("0x70b91ff87a902b53dc6e2f6bda8bb9b330ccd30c")).block()
|
act = reader.balance().read(Address.from("0x70b91ff87a902b53dc6e2f6bda8bb9b330ccd30c")).block()
|
||||||
|
|
||||||
then:
|
then:
|
||||||
|
|||||||
Reference in New Issue
Block a user