From 3ef48643451e016a4dff034bfee606c189592467 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Tue, 16 Feb 2010 15:55:57 +0000 Subject: Use qpid::sys::usleep() instead of usleep(). Resolves QPID-2408. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910567 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/ClientSessionTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/tests/ClientSessionTest.cpp') diff --git a/cpp/src/tests/ClientSessionTest.cpp b/cpp/src/tests/ClientSessionTest.cpp index 596f3282ce..939f8f2b88 100644 --- a/cpp/src/tests/ClientSessionTest.cpp +++ b/cpp/src/tests/ClientSessionTest.cpp @@ -661,7 +661,7 @@ QPID_AUTO_TEST_CASE(testTtl) msg2.getDeliveryProperties().setTtl(ttl); s.messageTransfer(arg::content=msg2); - ::usleep(5 * us); // 5 sec + qpid::sys::usleep(5 * us); // 5 sec // Message "AAA" should be expired and never be delivered // Check "BBB" has ttl somewhere between 1 and 5 secs -- cgit v1.2.1