activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r713463 - /activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp
Date Wed, 12 Nov 2008 19:25:41 GMT
Author: tabish
Date: Wed Nov 12 11:25:40 2008
New Revision: 713463

URL: http://svn.apache.org/viewvc?rev=713463&view=rev
Log:
AMQCPP-205

Fixing issue found on windows build

Modified:
    activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp

Modified: activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp?rev=713463&r1=713462&r2=713463&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp (original)
+++ activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp Wed Nov 12
11:25:40 2008
@@ -123,7 +123,7 @@
                 try{
 
                     // Throw a little uncertainty into the test.
-                    unsigned int randWait = randGen.nextInt() % 50;
+                    unsigned int randWait = randGen.nextInt( 50 );
                     decaf::lang::Thread::sleep( randWait );
 
                     command->c = inputStream->read();



Mime
View raw message