tests(flaky): Increase check timeouts (#995)
Increase checkExpiring timeouts to verify impact on flaky tests.
This commit is contained in:
parent
5594bcb33e
commit
9bc5ec1566
|
@ -16,3 +16,4 @@ tests/pubsub/testgossipsub
|
|||
examples/*.md
|
||||
nimble.develop
|
||||
nimble.paths
|
||||
go-libp2p-daemon/
|
||||
|
|
|
@ -114,7 +114,7 @@ proc bridgedConnections*: (Connection, Connection) =
|
|||
proc checkExpiringInternal(cond: proc(): bool {.raises: [], gcsafe.} ): Future[bool] {.async.} =
|
||||
let start = Moment.now()
|
||||
while true:
|
||||
if Moment.now() > (start + chronos.seconds(5)):
|
||||
if Moment.now() > (start + chronos.seconds(10)):
|
||||
return false
|
||||
elif cond():
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue