mirror of
https://github.com/corda/corda.git
synced 2025-04-09 20:31:52 +00:00
Fix IrsDemoTest for days that have a fixing. (#1456)
This commit is contained in:
parent
df31e52665
commit
41a94d1624
@ -77,9 +77,9 @@ class IRSDemoTest : IntegrationTestCategory {
|
||||
assertThat(getFloatingLegFixCount(nodeAApi) == 0)
|
||||
|
||||
// Wait until the initial trade and all scheduled fixings up to the current date have finished
|
||||
nextFixingDates.firstWithTimeout(maxWaitTime){ it == null || it > currentDate }
|
||||
nextFixingDates.firstWithTimeout(maxWaitTime) { it == null || it >= currentDate }
|
||||
runDateChange(nodeBApi)
|
||||
nextFixingDates.firstWithTimeout(maxWaitTime) { it == null || it > futureDate }
|
||||
nextFixingDates.firstWithTimeout(maxWaitTime) { it == null || it >= futureDate }
|
||||
|
||||
assertThat(getFloatingLegFixCount(nodeAApi) > 0)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user