mirror of https://github.com/apache/activemq.git
Give more time to AMQ6815Test (for Jenkins)
This commit is contained in:
parent
2d16fdc0f0
commit
c9e4abf274
|
@ -71,7 +71,7 @@ public class AMQ6815Test {
|
||||||
brokerService.stop();
|
brokerService.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout = 120000)
|
@Test(timeout = 240000)
|
||||||
public void testHeapUsage() throws Exception {
|
public void testHeapUsage() throws Exception {
|
||||||
Runtime.getRuntime().gc();
|
Runtime.getRuntime().gc();
|
||||||
final long initUsedMemory = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
|
final long initUsedMemory = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
|
||||||
|
|
Loading…
Reference in New Issue