Start removed but cluster is broken

This commit is contained in:
Viktor Klang 2011-09-08 11:02:17 +02:00
parent 24fb967988
commit bbb79d8e0d
144 changed files with 684 additions and 930 deletions

View file

@ -25,9 +25,9 @@ class CallingThreadDispatcherModelSpec extends ActorModelSpec {
def flood(num: Int) {
val cachedMessage = CountDownNStop(new CountDownLatch(num))
val keeper = newTestActor.start()
val keeper = newTestActor
(1 to num) foreach { _
newTestActor.start() ! cachedMessage
newTestActor ! cachedMessage
}
keeper.stop()
assertCountDown(cachedMessage.latch, 10000, "Should process " + num + " countdowns")