Additional coordination of shutdown in ClusterDeathWatchSpec, see #3255

* Added testconductor shutdown of actor system
* Renamed previous shutdown to exit
This commit is contained in:
Patrik Nordwall 2013-04-23 16:44:14 +02:00
parent b2494819d9
commit 19283207ff
20 changed files with 62 additions and 41 deletions

View file

@ -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`