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

@ -177,7 +177,7 @@ class ClusterClientSpec extends MultiNodeSpec(ClusterClientSpec) with STMultiNod
case Some(r) r
case None fail("unexpected missing roleName: " + lastSender.path.address)
}
testConductor.shutdown(receptionistRoleName, 0).await
testConductor.exit(receptionistRoleName, 0).await
awaitAssert {
c ! ClusterClient.Send("/user/service2", "hi again", localAffinity = true)
expectMsg(1 second, "ack")