Fix MultiTimeout_Destroy test.
This commit is contained in:
parent
ccb30077e7
commit
6df8b9a535
@ -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"};
|
||||
|
Loading…
Reference in New Issue
Block a user