Shutdown ordering issue in RemoteDeploymentDeathWatchSpec, see #3334

This commit is contained in:
Patrik Nordwall 2013-05-16 18:10:56 +02:00
parent 85954621ef
commit f2ff09771c

View file

@ -95,10 +95,8 @@ abstract class RemoteDeploymentDeathWatchSpec
testConductor.exit(third, 0).await
enterBarrier("third-crashed")
runOn(first) {
// second system will be shutdown
testConductor.shutdown(second)
}
// second system will be shutdown
testConductor.shutdown(second).await
enterBarrier("after-3")
}