diff options
Diffstat (limited to 'tests/test_time.c')
-rw-r--r-- | tests/test_time.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_time.c b/tests/test_time.c index 0fc778526..0fca0fd55 100644 --- a/tests/test_time.c +++ b/tests/test_time.c @@ -82,6 +82,7 @@ AST_TEST_DEFINE(test_timezone_watch) ast_log(LOG_WARNING, "system(%s) returned non-zero: %d\n", syscmd, system_res); } ast_localtime_wakeup_monitor(); + sched_yield(); ast_localtime(&tv, &atm[i], tzfile); if (i != 0) { if (atm[i].tm_hour == atm[i - 1].tm_hour) { |