mirror of
https://github.com/corda/corda.git
synced 2025-01-18 10:46:38 +00:00
CORDA-3986 Increase sleep in FlowSessionCloseTest
(#6629)
* CORDA-3986 Increase sleep in `FlowSessionCloseTest` A sleep duration needed to be increased to ensure that an end session message has time to be processed by the other node. Locks do not fully fix this because some internal processing needs to be completed that can't be waited for using a lock. Therefore the sleep time was increased generously.
This commit is contained in:
parent
205ce84033
commit
1cbfb74022
@ -185,7 +185,9 @@ class FlowSessionCloseTest {
|
||||
}
|
||||
|
||||
session.send(responderReaction)
|
||||
sleep(1.seconds)
|
||||
|
||||
// Give time to the other flow to receive the message, close its session and send the end session message back
|
||||
sleep(5.seconds)
|
||||
|
||||
if (accessClosedSessionWithApi != null) {
|
||||
when(accessClosedSessionWithApi) {
|
||||
|
Loading…
Reference in New Issue
Block a user