activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1449157 - /activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java
Date Fri, 22 Feb 2013 18:25:13 GMT
Author: tabish
Date: Fri Feb 22 18:25:13 2013
New Revision: 1449157

URL: http://svn.apache.org/r1449157
Log:
apply patch for: https://issues.apache.org/jira/browse/AMQ-4342

Modified:
    activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java

Modified: activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java?rev=1449157&r1=1449156&r2=1449157&view=diff
==============================================================================
--- activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java
(original)
+++ activemq/trunk/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java
Fri Feb 22 18:25:13 2013
@@ -151,7 +151,7 @@ public class MemoryUsageCleanupTest {
 
             @Override
             public boolean isSatisified() throws Exception {
-                return broker.getAdminView().getMemoryPercentUsage() == startPercentage;
+                return broker.getAdminView().getMemoryPercentUsage() <= startPercentage
+ 1;
             }
         }));
 



Mime
View raw message