summaryrefslogtreecommitdiffstats
path: root/slobrok/src/tests/standalone/standalone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'slobrok/src/tests/standalone/standalone.cpp')
-rw-r--r--slobrok/src/tests/standalone/standalone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/slobrok/src/tests/standalone/standalone.cpp b/slobrok/src/tests/standalone/standalone.cpp
index 9d3fd694ee1..65553c57530 100644
--- a/slobrok/src/tests/standalone/standalone.cpp
+++ b/slobrok/src/tests/standalone/standalone.cpp
@@ -132,7 +132,7 @@ TEST("standalone") {
break;
}
fprintf(stderr, "ping failed [retry %d]\n", retry);
- FastOS_Thread::Sleep(200);
+ std::this_thread::sleep_for(200ms);
sb->SubRef();
sb = orb.GetTarget(18541);
}
@@ -268,7 +268,7 @@ TEST("standalone") {
}
}
- FastOS_Thread::Sleep(2000);
+ std::this_thread::sleep_for(2s);
// lookup 'B' should give ''
req = orb.AllocRPCRequest(req);