mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
Increase the wait time for events as it can take longer on some environments (#5085)
This commit is contained in:
parent
a9a0f422af
commit
4c31e8c1fe
@ -251,7 +251,7 @@ class RpcReconnectTests {
|
|||||||
var nrRetries = 0
|
var nrRetries = 0
|
||||||
|
|
||||||
// It might be necessary to wait more for all events to arrive when the node is slow.
|
// 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)
|
Thread.sleep(2000)
|
||||||
allCashStates = readCashStates()
|
allCashStates = readCashStates()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user