mirror of
https://github.com/corda/corda.git
synced 2025-04-08 11:54:44 +00:00
Merge pull request #7443 from corda/adel/ENT-10371
ENT-10371: Fix unit test failure in CordaServiceLifecycleTests.
This commit is contained in:
commit
1eb3b3b42b
@ -156,6 +156,6 @@ class CordaServiceLifecycleTests {
|
||||
/**
|
||||
* 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…
x
Reference in New Issue
Block a user