mirror of
https://github.com/corda/corda.git
synced 2024-12-21 13:57:54 +00:00
node: fix IRSSimulation so it doesn't rely on buffering
This commit is contained in:
parent
5323eb1073
commit
ccf362bb8a
@ -105,8 +105,8 @@ class IRSSimulation(networkSendManuallyPumped: Boolean, runAsync: Boolean, laten
|
||||
|
||||
val retFuture = SettableFuture.create<Unit>()
|
||||
val futA = node1.smm.add("floater", sideA)
|
||||
val futB = node2.smm.add("fixer", sideB)
|
||||
executeOnNextIteration += {
|
||||
val futB = node2.smm.add("fixer", sideB)
|
||||
Futures.allAsList(futA, futB) success {
|
||||
retFuture.set(null)
|
||||
} failure { throwable ->
|
||||
|
Loading…
Reference in New Issue
Block a user