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 2008/11/12 20:25:41 UTC

svn commit: r713463 - /activemq/activemq-cpp/trunk/src/test/activemq/transport/IOTransportTest.cpp

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();