Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 3409 invoked from network); 17 Sep 2009 22:15:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Sep 2009 22:15:33 -0000 Received: (qmail 72354 invoked by uid 500); 17 Sep 2009 22:15:33 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 72323 invoked by uid 500); 17 Sep 2009 22:15:33 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 72314 invoked by uid 99); 17 Sep 2009 22:15:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 22:15:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 22:15:22 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C42FD23888D7; Thu, 17 Sep 2009 22:15:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r816396 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/util/MemoryUsageTest.cpp Date: Thu, 17 Sep 2009 22:15:01 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090917221501.C42FD23888D7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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() {