diff options
Diffstat (limited to 'config/src/tests/frt/frt.cpp')
-rw-r--r-- | config/src/tests/frt/frt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/src/tests/frt/frt.cpp b/config/src/tests/frt/frt.cpp index ba8279a1999..28dea82bfe7 100644 --- a/config/src/tests/frt/frt.cpp +++ b/config/src/tests/frt/frt.cpp @@ -49,7 +49,7 @@ namespace { while (timer.elapsed().ms() < timeoutInMillis) { if (notified) break; - FastOS_Thread::Sleep(100); + std::this_thread::sleep_for(100ms); } return notified; } @@ -260,7 +260,7 @@ TEST_FF("require that request is config task is scheduled", SourceFixture(), FRT f1.conn.scheduler.CheckTasks(); if (f2.result.notified) break; - FastOS_Thread::Sleep(500); + std::this_thread::sleep_for(500ms); } ASSERT_TRUE(f2.result.notified); f2.src.close(); |