Give more time to AMQ6815Test (for Jenkins)

This commit is contained in:
jbonofre 2020-11-19 08:43:50 +01:00
parent 2d16fdc0f0
commit c9e4abf274
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class AMQ6815Test {
brokerService.stop();
}
@Test(timeout = 120000)
@Test(timeout = 240000)
public void testHeapUsage() throws Exception {
Runtime.getRuntime().gc();
final long initUsedMemory = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();