activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject activemq git commit: fix ci failure when less than 4% disk space
Date Fri, 06 May 2016 11:10:59 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 5096463b0 -> 9a35c3731


fix ci failure when less than 4% disk space


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/9a35c373
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/9a35c373
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/9a35c373

Branch: refs/heads/master
Commit: 9a35c3731b29c37e28635831737f6ef369e5175b
Parents: 5096463
Author: gtully <gary.tully@gmail.com>
Authored: Fri May 6 12:10:08 2016 +0100
Committer: gtully <gary.tully@gmail.com>
Committed: Fri May 6 12:10:26 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/activemq/usage/PeriodicDiskUsageLimitTest.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/9a35c373/activemq-unit-tests/src/test/java/org/apache/activemq/usage/PeriodicDiskUsageLimitTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usage/PeriodicDiskUsageLimitTest.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/usage/PeriodicDiskUsageLimitTest.java
index 623e9ab..65478dc 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/usage/PeriodicDiskUsageLimitTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usage/PeriodicDiskUsageLimitTest.java
@@ -63,6 +63,7 @@ public class PeriodicDiskUsageLimitTest {
     @Before
     public void setUpBroker() throws Exception {
         broker = new BrokerService();
+        broker.setUseJmx(false);
         broker.setPersistent(true);
         testfile = dataFileDir.newFile();
         broker.setDataDirectoryFile(dataFileDir.getRoot());
@@ -251,6 +252,7 @@ public class PeriodicDiskUsageLimitTest {
             assertEquals(originalDisk, broker.getSystemUsage().getStoreUsage().getLimit());
             assertEquals(originalTmp, broker.getSystemUsage().getTempUsage().getLimit());
         }
+        LOG.info("Not running b/c there is less that 4% disk space, freePrecent:" + freePercent);
     }
 
     protected void assertRampDown() throws Exception {


Mime
View raw message