You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by sh...@apache.org on 2010/02/16 16:55:57 UTC

svn commit: r910567 - /qpid/trunk/qpid/cpp/src/tests/ClientSessionTest.cpp

Author: shuston
Date: Tue Feb 16 15:55:57 2010
New Revision: 910567

URL: http://svn.apache.org/viewvc?rev=910567&view=rev
Log:
Use qpid::sys::usleep() instead of usleep(). Resolves QPID-2408.

Modified:
    qpid/trunk/qpid/cpp/src/tests/ClientSessionTest.cpp

Modified: qpid/trunk/qpid/cpp/src/tests/ClientSessionTest.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/ClientSessionTest.cpp?rev=910567&r1=910566&r2=910567&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/ClientSessionTest.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/ClientSessionTest.cpp Tue Feb 16 15:55:57 2010
@@ -661,7 +661,7 @@
     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



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org