activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r816396 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/MemoryUsageTest.cpp
Date Thu, 17 Sep 2009 22:15:01 GMT
Author: tabish
Date: Thu Sep 17 22:15:01 2009
New Revision: 816396

URL: http://svn.apache.org/viewvc?rev=816396&view=rev
Log:
Modify the test to account for windows less than stellar clock.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/MemoryUsageTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/MemoryUsageTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/MemoryUsageTest.cpp?rev=816396&r1=816395&r2=816396&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/MemoryUsageTest.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/MemoryUsageTest.cpp Thu
Sep 17 22:15:01 2009
@@ -89,11 +89,11 @@
 
     unsigned long long startTime = System::currentTimeMillis();
 
-    usage.waitForSpace( 100 );
+    usage.waitForSpace( 150 );
 
     unsigned long long endTime = System::currentTimeMillis();
 
-    CPPUNIT_ASSERT( endTime - startTime >= 100 );
+    CPPUNIT_ASSERT( endTime - startTime >= 125 );
 }
 
 void MemoryUsageTest::testWait() {



Mime
View raw message