Increase the wait time for events as it can take longer on some environments (#5085)

This commit is contained in:
Tudor Malene 2019-05-02 11:03:53 +01:00 committed by Shams Asari
parent a9a0f422af
commit 4c31e8c1fe

View File

@ -251,7 +251,7 @@ class RpcReconnectTests {
var nrRetries = 0
// It might be necessary to wait more for all events to arrive when the node is slow.
while (allCashStates.size < nrOfFlowsToRun && nrRetries++ < 3) {
while (allCashStates.size < nrOfFlowsToRun && nrRetries++ < 50) {
Thread.sleep(2000)
allCashStates = readCashStates()
}