Author: tabish Date: Wed Nov 9 21:03:35 2011 New Revision: 1199961 URL: http://svn.apache.org/viewvc?rev=1199961&view=rev Log: Update the test, the Connection doesn't send the ConnectionInfo right away to allow setClientId to have effect. Add call to start() to ensure that the second connection generates an advisory. Modified: activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/test-integration/activemq/test/openwire/OpenwireAdvisorysTest.cpp Modified: activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/test-integration/activemq/test/openwire/OpenwireAdvisorysTest.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/test-integration/activemq/test/openwire/OpenwireAdvisorysTest.cpp?rev=1199961&r1=1199960&r2=1199961&view=diff ============================================================================== --- activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/test-integration/activemq/test/openwire/OpenwireAdvisorysTest.cpp (original) +++ activemq/activemq-cpp/branches/activemq-cpp-3.4.x/activemq-cpp/src/test-integration/activemq/test/openwire/OpenwireAdvisorysTest.cpp Wed Nov 9 21:03:35 2011 @@ -83,6 +83,7 @@ void OpenwireAdvisorysTest::testConnecti std::auto_ptr otherConnection( factory->createConnection() ); CPPUNIT_ASSERT( otherConnection.get() != NULL ); + otherConnection->start(); std::auto_ptr message; int connectionInfoCount = 0;