mirror of https://github.com/apache/activemq.git
Increase the test timeout, passes locally if given enough time.
This commit is contained in:
parent
2b7bb6f81b
commit
70ef9b7e37
|
@ -97,7 +97,7 @@ public class MemoryLimitTest extends TestSupport {
|
|||
}
|
||||
}
|
||||
|
||||
@Test(timeout = 120000)
|
||||
@Test(timeout = 640000)
|
||||
public void testCursorBatch() throws Exception {
|
||||
|
||||
ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory("vm://localhost?jms.prefetchPolicy.all=10");
|
||||
|
@ -150,7 +150,7 @@ public class MemoryLimitTest extends TestSupport {
|
|||
for (int i = 1; i < 2000; i++) {
|
||||
msg = consumer.receive(5000);
|
||||
if (msg == null) {
|
||||
dumpAllThreads("NoMessage");
|
||||
dumpAllThreads("NoMessage");
|
||||
}
|
||||
assertNotNull("Didn't receive message " + i, msg);
|
||||
msg.acknowledge();
|
||||
|
|
Loading…
Reference in New Issue