activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r713385 - /activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/TransactionTest.cpp
Date Wed, 12 Nov 2008 14:51:53 GMT
Author: tabish
Date: Wed Nov 12 06:51:52 2008
New Revision: 713385

URL: http://svn.apache.org/viewvc?rev=713385&view=rev
Log:
Adjust test to allow for correct operation.

Modified:
    activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/TransactionTest.cpp

Modified: activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/TransactionTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/TransactionTest.cpp?rev=713385&r1=713384&r2=713385&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/TransactionTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/test-integration/integration/connector/stomp/TransactionTest.cpp
Wed Nov 12 06:51:52 2008
@@ -129,6 +129,9 @@
         testSupport->produceTextMessages(
             *producer, IntegrationCommon::defaultMsgCount );
 
+        // Need to allow some time for the messages to arrive.
+        Thread::sleep(150);
+
         session->rollback();
 
         // Wait till we get all the messages



Mime
View raw message