Author: tabish
Date: Mon Jul 30 21:40:06 2012
New Revision: 1367325

URL: http://svn.apache.org/viewvc?rev=1367325&view=rev
Log:
wait for the ThreadPool to shutdown before exit.

Modified:
    
activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/concurrent/ThreadPoolExecutorTest.cpp

Modified: 
activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/concurrent/ThreadPoolExecutorTest.cpp
URL: 
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/concurrent/ThreadPoolExecutorTest.cpp?rev=1367325&r1=1367324&r2=1367325&view=diff
==============================================================================
--- 
activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/concurrent/ThreadPoolExecutorTest.cpp
 (original)
+++ 
activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/concurrent/ThreadPoolExecutorTest.cpp
 Mon Jul 30 21:40:06 2012
@@ -314,6 +314,9 @@ void ThreadPoolExecutorTest::testMoreTas
     // Wait for them to finish, if it takes longer than 30 seconds
     // something is not right.
     CPPUNIT_ASSERT( startedLatch2.await( 30000 ) );
+
+    pool.shutdown();
+    joinPool(&pool);
 }
 
 ///////////////////////////////////////////////////////////////////////////////


Reply via email to