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 2013/02/09 21:49:03 UTC
svn commit: r1444431 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/lang/ThreadTest.cpp
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());