mirror of
https://github.com/corda/corda.git
synced 2025-03-13 07:54:32 +00:00
Use 0 seconds when forcing a flow checkpoint inside test
This commit is contained in:
parent
fbe234574e
commit
296202d541
@ -47,7 +47,7 @@ class MockNetworkCustomSerializerCheckpointTest{
|
||||
val difficultToSerialize: ImmutableMap<String, Int> = immutableMapOf("foo" to purchase)
|
||||
|
||||
// Force a checkpoint
|
||||
sleep(Duration.ofSeconds(10), maySkipCheckpoint = false)
|
||||
sleep(Duration.ofSeconds(0), maySkipCheckpoint = false)
|
||||
|
||||
// Return value from deserialized object
|
||||
return difficultToSerialize["foo"] ?: 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user