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-subscr...@qpid.apache.org