Skip to content

Commit 9bc5ec1

Browse files
tests(flaky): Increase check timeouts (#995)
Increase checkExpiring timeouts to verify impact on flaky tests.
1 parent 5594bcb commit 9bc5ec1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ tests/pubsub/testgossipsub
1616
examples/*.md
1717
nimble.develop
1818
nimble.paths
19+
go-libp2p-daemon/

tests/helpers.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ proc bridgedConnections*: (Connection, Connection) =
114114
proc checkExpiringInternal(cond: proc(): bool {.raises: [], gcsafe.} ): Future[bool] {.async.} =
115115
let start = Moment.now()
116116
while true:
117-
if Moment.now() > (start + chronos.seconds(5)):
117+
if Moment.now() > (start + chronos.seconds(10)):
118118
return false
119119
elif cond():
120120
return true

0 commit comments

Comments
 (0)