Skip to content

Commit

Permalink
Fix flaky test_portal_testnet CI test with retries (#2808)
Browse files Browse the repository at this point in the history
* Add two, not so great, quick fix attempts for flaky CI

* Another attempt

* Remove the increased sleep in test_history_network

Need something better here.
  • Loading branch information
kdeme authored Nov 4, 2024
1 parent 73b228f commit 226d084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluffy/scripts/test_portal_testnet.nim
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ proc retryUntil[A](
f: FutureCallback[A], c: CheckCallback[A], checkFailMessage: string, nodeIdx: int
): Future[A] =
# some reasonable limits, which will cause waits as: 1, 2, 4, 8, 16, 32 seconds
return withRetries(f, c, 1, seconds(1), checkFailMessage, nodeIdx)
return withRetries(f, c, 2, seconds(1), checkFailMessage, nodeIdx)

# Note:
# When doing json-rpc requests following `RpcPostError` can occur:
Expand Down

0 comments on commit 226d084

Please sign in to comment.