fix ActorModelSpec
- transform Dispatcher and Actor asserts into await() - add more detailed logging of what goes wrong
This commit is contained in:
parent
a935998000
commit
6109a17af4
2 changed files with 33 additions and 23 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue