Additional coordination of shutdown in ClusterDeathWatchSpec, see #3255
* Added testconductor shutdown of actor system * Renamed previous shutdown to exit
This commit is contained in:
parent
b2494819d9
commit
19283207ff
20 changed files with 62 additions and 41 deletions
|
|
@ -71,7 +71,7 @@ abstract class LeaderElectionSpec(multiNodeConfig: LeaderElectionMultiNodeConfig
|
|||
case `controller` ⇒
|
||||
val leaderAddress = address(leader)
|
||||
enterBarrier("before-shutdown" + n)
|
||||
testConductor.shutdown(leader, 0).await
|
||||
testConductor.exit(leader, 0).await
|
||||
enterBarrier("after-shutdown" + n, "after-unavailable" + n, "after-down" + n, "completed" + n)
|
||||
|
||||
case `leader` ⇒
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue