activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r500580 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h
Date Sat, 27 Jan 2007 18:11:43 GMT
Author: tabish
Date: Sat Jan 27 10:11:42 2007
New Revision: 500580

URL: http://svn.apache.org/viewvc?view=rev&rev=500580
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30

Occasional lockups under Cygwin, upped the delays in the tests a bit.

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h?view=diff&rev=500580&r1=500579&r2=500580
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/ResponseCorrelatorTest.h
Sat Jan 27 10:11:42 2007
@@ -607,14 +607,14 @@
                     CPPUNIT_ASSERT( requesters[ix].cmd.getCommandId() == requesters[ix].resp->getCorrelationId()
);
                 }
 
-                concurrent::Thread::sleep( 40 );
+                concurrent::Thread::sleep( 60 );
                 synchronized( &listener.mutex )
                 {
                     unsigned int count = 0;
 
                     while( listener.commands.size() != numRequests )
                     {
-                        listener.mutex.wait( 55 );
+                        listener.mutex.wait( 75 );
 
                         ++count;
 



Mime
View raw message