You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2010/08/30 23:23:36 UTC
svn commit: r990947 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/failover/FailoverTransportTest.cpp
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 );