activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r990947 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/failover/FailoverTransportTest.cpp
Date Mon, 30 Aug 2010 21:23:36 GMT
Author: tabish
Date: Mon Aug 30 21:23:36 2010
New Revision: 990947

URL: http://svn.apache.org/viewvc?rev=990947&view=rev
Log:
Mod the test to ensure that a remove on the FailoverTransport doesn't miss the case where
no transport URIs are available bug.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/failover/FailoverTransportTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/failover/FailoverTransportTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/failover/FailoverTransportTest.cpp?rev=990947&r1=990946&r2=990947&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/failover/FailoverTransportTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/failover/FailoverTransportTest.cpp
Mon Aug 30 21:23:36 2010
@@ -577,6 +577,7 @@ void FailoverTransportTest::testTranspor
     removals.add( URI("mock://localhost:61616") );
 
     mock->fireCommand( control );
+    Thread::sleep( 1000 );
     failover->removeURI( true, removals );
 
     Thread::sleep( 2000 );



Mime
View raw message