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:
parent
73b228fb1d
commit
226d084e90
|
@ -94,7 +94,7 @@ proc retryUntil[A](
|
||||||
f: FutureCallback[A], c: CheckCallback[A], checkFailMessage: string, nodeIdx: int
|
f: FutureCallback[A], c: CheckCallback[A], checkFailMessage: string, nodeIdx: int
|
||||||
): Future[A] =
|
): Future[A] =
|
||||||
# some reasonable limits, which will cause waits as: 1, 2, 4, 8, 16, 32 seconds
|
# 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:
|
# Note:
|
||||||
# When doing json-rpc requests following `RpcPostError` can occur:
|
# When doing json-rpc requests following `RpcPostError` can occur:
|
||||||
|
|
Loading…
Reference in New Issue