tests(flaky): Increase check timeouts (#995)

Increase checkExpiring timeouts to verify impact on flaky tests.
This commit is contained in:
Álex Cabeza Romero 2024-02-01 00:46:12 +01:00 committed by GitHub
parent 5594bcb33e
commit 9bc5ec1566
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ tests/pubsub/testgossipsub
examples/*.md
nimble.develop
nimble.paths
go-libp2p-daemon/

View File

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