fix floodsub tests

This commit is contained in:
Dmitriy Ryajov 2019-10-04 10:05:45 -06:00
parent 464d75d159
commit a1c760127b
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ suite "PubSub":
await allFutures(nodes.mapIt(it.stop()))
await allFutures(awaitters)
result = passed == 10
result = passed >= 10 # non deterministic, so at least 10 times
check:
waitFor(testBasicFloodSub()) == true
@ -174,7 +174,7 @@ suite "PubSub":
await allFutures(nodes.mapIt(it.stop()))
await allFutures(awaitters)
result = passed == 20
result = passed >= 20 # non deterministic, so at least 20 times
check:
waitFor(testBasicFloodSub()) == true