summaryrefslogtreecommitdiffstats
path: root/slobrok/src/tests/configure/configure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'slobrok/src/tests/configure/configure.cpp')
-rw-r--r--slobrok/src/tests/configure/configure.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/slobrok/src/tests/configure/configure.cpp b/slobrok/src/tests/configure/configure.cpp
index bf41b77ab05..fa509c17d0c 100644
--- a/slobrok/src/tests/configure/configure.cpp
+++ b/slobrok/src/tests/configure/configure.cpp
@@ -85,7 +85,7 @@ compare(MirrorAPI &api, const char *pattern, SpecList expect)
if (actual == expect) {
return true;
}
- FastOS_Thread::Sleep(100);
+ std::this_thread::sleep_for(100ms);
}
SpecList actual(api.lookup(pattern));
std::cerr << "Actual: " << actual.strVal() << std::endl;
@@ -176,7 +176,7 @@ Test::Main()
srv2Builder.slobrok[0].connectionspec = createSpec(18525);
cfgCtx->reload();
- FastOS_Thread::Sleep(6000); // reconfiguration time
+ std::this_thread::sleep_for(6s); // reconfiguration time
reg1.registerName("A");
reg2.registerName("B");