mirror of
https://github.com/corda/corda.git
synced 2025-03-13 07:54:32 +00:00
Remove maySkipCheckpoint from calls to sleep
This commit is contained in:
parent
19fbfa1414
commit
a5b59d8098
@ -60,7 +60,7 @@ class MockNetworkCustomSerializerCheckpointTest{
|
||||
difficultToSerialize.putAll(mapOf("foo" to purchase))
|
||||
|
||||
// Force a checkpoint
|
||||
sleep(Duration.ofSeconds(0), maySkipCheckpoint = false)
|
||||
sleep(Duration.ofSeconds(0))
|
||||
|
||||
// Return value from deserialized object
|
||||
return difficultToSerialize["foo"] ?: 0
|
||||
@ -78,7 +78,7 @@ class MockNetworkCustomSerializerCheckpointTest{
|
||||
val ref = referenceField
|
||||
|
||||
// Force a checkpoint
|
||||
sleep(Duration.ofSeconds(0), maySkipCheckpoint = false)
|
||||
sleep(Duration.ofSeconds(0))
|
||||
|
||||
// Check all objects refer to same object
|
||||
Assertions.assertThat(reference).isSameAs(referenceField)
|
||||
|
Loading…
x
Reference in New Issue
Block a user