activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1444431 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/lang/ThreadTest.cpp
Date Sat, 09 Feb 2013 20:49:03 GMT
Author: tabish
Date: Sat Feb  9 20:49:02 2013
New Revision: 1444431

URL: http://svn.apache.org/r1444431
Log:
test fixes

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/lang/ThreadTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/lang/ThreadTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/lang/ThreadTest.cpp?rev=1444431&r1=1444430&r2=1444431&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/lang/ThreadTest.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/lang/ThreadTest.cpp Sat Feb  9
20:49:02 2013
@@ -721,7 +721,7 @@ void ThreadTest::testIsInterrupted() {
     SpinThread spin;
     Thread spinner(&spin);
     spinner.start();
-    Thread::yield();
+    Thread::sleep(100);
 
     try {
         CPPUNIT_ASSERT_MESSAGE("Non-Interrupted thread returned true", !spinner.isInterrupted());



Mime
View raw message