diff options
Diffstat (limited to 'messagebus_test/src/tests/trace/trace.cpp')
-rw-r--r-- | messagebus_test/src/tests/trace/trace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/messagebus_test/src/tests/trace/trace.cpp b/messagebus_test/src/tests/trace/trace.cpp index 0d4c622a0df..334f00745da 100644 --- a/messagebus_test/src/tests/trace/trace.cpp +++ b/messagebus_test/src/tests/trace/trace.cpp @@ -36,7 +36,7 @@ waitSlobrok(RPCMessageBus &mbus, const std::string &pattern) if (res.size() > 0) { return true; } - FastOS_Thread::Sleep(10); + std::this_thread::sleep_for(10ms); } return false; } @@ -112,7 +112,7 @@ Test::Main() } } std::cout << "Attempt " << i << " got errors, retrying in 1 second.." << std::endl; - FastOS_Thread::Sleep(1000); + std::this_thread::sleep_for(1s); } EXPECT_TRUE(!reply->hasErrors()); |