problem: CI tests fail

This commit is contained in:
Igor Artamonov
2020-05-13 23:24:21 -04:00
parent 3729aa040e
commit 98330b8772
2 changed files with 2 additions and 0 deletions

View File

@@ -118,6 +118,7 @@ class TrackEthereumAddressSpec extends Specification {
.expectNext(exp1).as("First block")
.then {
upstreamMock.nextBlock(BlockContainer.from(block2, TestingCommons.objectMapper()))
Thread.sleep(50)
}
.expectNext(exp2).as("Second block")
.thenCancel()

View File

@@ -235,6 +235,7 @@ class EthereumReaderSpec extends Specification {
it.totalDifficulty = BigInteger.TWO
}
upstream.nextBlock(BlockContainer.from(block2, TestingCommons.objectMapper()))
Thread.sleep(50)
act = reader.balance().read(Address.from("0x70b91ff87a902b53dc6e2f6bda8bb9b330ccd30c")).block()
then: