mirror of
https://github.com/corda/corda.git
synced 2025-06-19 23:53:52 +00:00
ENT-10371: Fix unit test failure in CordaServiceLifecycleTests.
This commit is contained in:
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user