diff options
author | Stephen D. Huston <shuston@apache.org> | 2010-02-16 15:55:57 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2010-02-16 15:55:57 +0000 |
commit | 3ef48643451e016a4dff034bfee606c189592467 (patch) | |
tree | cbd0430ac4472f764b1a1224127e1616f5fd38ec /cpp/src | |
parent | 01e3680ab329a638ac004d544a942af8491579d9 (diff) | |
download | qpid-python-3ef48643451e016a4dff034bfee606c189592467.tar.gz |
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
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/tests/ClientSessionTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |