Fix MultiTimeout_Destroy test.

This commit is contained in:
levlam 2020-11-21 20:49:06 +03:00
parent ccb30077e7
commit 6df8b9a535

View File

@ -82,6 +82,8 @@ class TimeoutManager : public Actor {
void test_timeout() {
CHECK(count > 0);
// we must yield scheduler, so run_main breaks immediately, if timeouts are handled immediately
Scheduler::instance()->yield();
}
MultiTimeout test_timeout_{"TestTimeout"};