mirror of
https://github.com/apache/activemq.git
synced 2025-02-16 23:16:52 +00:00
Increase AMQ6815Test timeout (failing on slow machine like Jenkins)
This commit is contained in:
parent
bfc4eab3ca
commit
5c7e23ac90
@ -71,7 +71,7 @@ public class AMQ6815Test {
|
|||||||
brokerService.stop();
|
brokerService.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout = 240000)
|
@Test(timeout = 480000)
|
||||||
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…
x
Reference in New Issue
Block a user