Fix flaky test_portal_testnet CI test with retries (#2808)

* 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.
This commit is contained in:
Kim De Mey 2024-11-04 18:02:56 +01:00 committed by GitHub
parent 73b228fb1d
commit 226d084e90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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