diff --git a/test/test_time.cpp b/test/test_time.cpp index f3f9c1c33..197e2c59f 100644 --- a/test/test_time.cpp +++ b/test/test_time.cpp @@ -86,7 +86,7 @@ int test_main() thread t3(boost::bind(&check_timer_loop, boost::ref(m), boost::ref(last), boost::ref(cv))); thread t4(boost::bind(&check_timer_loop, boost::ref(m), boost::ref(last), boost::ref(cv))); - sleep(100); + test_sleep(100); cv.notify_all();