diff options
Diffstat (limited to 'vespalib/src/tests/thread')
-rw-r--r-- | vespalib/src/tests/thread/thread_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/thread/thread_test.cpp b/vespalib/src/tests/thread/thread_test.cpp index 025a33fa221..bcd38190c7e 100644 --- a/vespalib/src/tests/thread/thread_test.cpp +++ b/vespalib/src/tests/thread/thread_test.cpp @@ -32,7 +32,7 @@ TEST("normal operation") { { Thread thread(agent); thread.start(); - FastOS_Thread::Sleep(20); + std::this_thread::sleep_for(20ms); thread.stop().join(); } EXPECT_TRUE(agent.started); |