Commit 7ff782fd authored by Marian Triebe's avatar Marian Triebe

Adjust timeouts in remote_actor test

This prevents false-positives on slow machines.
parent ea9114c1
...@@ -175,14 +175,14 @@ CAF_MESSAGE("self: " << to_string(self->address())); ...@@ -175,14 +175,14 @@ CAF_MESSAGE("self: " << to_string(self->address()));
<< to_string(self->current_message())); << to_string(self->current_message()));
self->quit(exit_reason::user_defined); self->quit(exit_reason::user_defined);
}, },
after(chrono::seconds(2)) >> [=] { after(chrono::seconds(3)) >> [=] {
CAF_TEST_ERROR("did only receive " << *downs << " down messages"); CAF_TEST_ERROR("did only receive " << *downs << " down messages");
self->quit(exit_reason::user_defined); self->quit(exit_reason::user_defined);
} }
); );
} }
}, },
after(std::chrono::seconds(2)) >> [=] { after(std::chrono::seconds(6)) >> [=] {
CAF_TEST_ERROR("Unexpected timeout"); CAF_TEST_ERROR("Unexpected timeout");
self->quit(exit_reason::user_defined); self->quit(exit_reason::user_defined);
} }
......
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