Commit a50563f2 authored by Dominik Charousset's avatar Dominik Charousset

Avoid deadlock in group module with test scheduler

parent e227f3dd
......@@ -54,7 +54,9 @@ void await_all_locals_down(actor_system& sys, std::initializer_list<actor> xs) {
self->send_exit(x, exit_reason::kill);
ys.push_back(x);
}
self->wait_for(ys);
// Don't block when using the test coordinator.
if (sys.config().scheduler_policy != atom("testing"))
self->wait_for(ys);
}
class local_group : public abstract_group {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment