fix ActorModelSpec

- transform Dispatcher and Actor asserts into await()
- add more detailed logging of what goes wrong
This commit is contained in:
Roland 2011-09-22 16:23:07 +02:00
parent a935998000
commit 6109a17af4
2 changed files with 33 additions and 23 deletions

View file

@ -34,7 +34,6 @@ class CallingThreadDispatcherModelSpec extends ActorModelSpec {
}
for (run 1 to 3) {
flood(10000)
await(dispatcher.stops.get == run)(withinMs = 10000)
assertDispatcher(dispatcher)(starts = run, stops = run)
}
}