From 7a0b32b82baef74dca049f9d6510b8b0e60fab51 Mon Sep 17 00:00:00 2001 From: "Timothy A. Bish" Date: Fri, 22 Feb 2013 18:25:13 +0000 Subject: [PATCH] apply patch for: https://issues.apache.org/jira/browse/AMQ-4342 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449157 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java index 87045839f9..e7feb90054 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/MemoryUsageCleanupTest.java @@ -151,7 +151,7 @@ public class MemoryUsageCleanupTest { @Override public boolean isSatisified() throws Exception { - return broker.getAdminView().getMemoryPercentUsage() == startPercentage; + return broker.getAdminView().getMemoryPercentUsage() <= startPercentage + 1; } }));