mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
ENT-10371: Fix unit test failure in CordaServiceLifecycleTests.
This commit is contained in:
parent
106ccd7fe8
commit
f543e47652
@ -156,6 +156,6 @@ class CordaServiceLifecycleTests {
|
|||||||
/**
|
/**
|
||||||
* Given an event, was the SMM started when the event was received?
|
* Given an event, was the SMM started when the event was received?
|
||||||
*/
|
*/
|
||||||
fun getSmmStartedForEvent(event: ServiceLifecycleEvent) : Int = smmStateAtEvent.getOrDefault(event, STATE_MACHINE_MANAGER_UNKNOWN_STATUS)
|
fun getSmmStartedForEvent(event: ServiceLifecycleEvent) : Int = smmStateAtEvent[event] ?: checkSmmStarted()
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user