activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r773013 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleRollbackTest.cpp
Date Fri, 08 May 2009 14:45:33 GMT
Author: tabish
Date: Fri May  8 14:45:32 2009
New Revision: 773013

URL: http://svn.apache.org/viewvc?rev=773013&view=rev
Log:
Add a missing commit call.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleRollbackTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleRollbackTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleRollbackTest.cpp?rev=773013&r1=773012&r2=773013&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleRollbackTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SimpleRollbackTest.cpp
Fri May  8 14:45:32 2009
@@ -74,6 +74,9 @@
         unsigned int numReceived = listener.getNumReceived();
         CPPUNIT_ASSERT( numReceived == IntegrationCommon::defaultMsgCount );
 
+        session->commit();
+        Thread::sleep( 50 );
+
         for( unsigned int i = 0; i < 5; ++i ) {
             ostringstream lcStream;
             lcStream << "SimpleTest - Message #" << i << ends;



Mime
View raw message