Commit cf487fa7 authored by Dominik Charousset's avatar Dominik Charousset

Fix test logic

parent e379f4e0
...@@ -180,7 +180,7 @@ SCENARIO("calling suspend_reading removes message apps temporarily") { ...@@ -180,7 +180,7 @@ SCENARIO("calling suspend_reading removes message apps temporarily") {
} }
THEN("users can resume it via continue_reading ") { THEN("users can resume it via continue_reading ") {
mgr->continue_reading(); mgr->continue_reading();
mpx.poll(); mpx.poll_once(true);
CHECK_EQ(mpx.mask_of(mgr), net::operation::read); CHECK_EQ(mpx.mask_of(mgr), net::operation::read);
while (mpx.num_socket_managers() > 1u) while (mpx.num_socket_managers() > 1u)
mpx.poll_once(true); mpx.poll_once(true);
......
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