mirror of https://github.com/apache/activemq.git
fix ci failure when less than 4% disk space
This commit is contained in:
parent
5096463b00
commit
9a35c3731b
|
@ -63,6 +63,7 @@ public class PeriodicDiskUsageLimitTest {
|
||||||
@Before
|
@Before
|
||||||
public void setUpBroker() throws Exception {
|
public void setUpBroker() throws Exception {
|
||||||
broker = new BrokerService();
|
broker = new BrokerService();
|
||||||
|
broker.setUseJmx(false);
|
||||||
broker.setPersistent(true);
|
broker.setPersistent(true);
|
||||||
testfile = dataFileDir.newFile();
|
testfile = dataFileDir.newFile();
|
||||||
broker.setDataDirectoryFile(dataFileDir.getRoot());
|
broker.setDataDirectoryFile(dataFileDir.getRoot());
|
||||||
|
@ -251,6 +252,7 @@ public class PeriodicDiskUsageLimitTest {
|
||||||
assertEquals(originalDisk, broker.getSystemUsage().getStoreUsage().getLimit());
|
assertEquals(originalDisk, broker.getSystemUsage().getStoreUsage().getLimit());
|
||||||
assertEquals(originalTmp, broker.getSystemUsage().getTempUsage().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 {
|
protected void assertRampDown() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue