AMQ-8190 add wait time & shrink duration for CI test run

(cherry picked from commit 6691e23e4835cdf8b20b30cc0a580d822feed5f6)
This commit is contained in:
Charlie Chen 2021-03-24 12:56:35 -07:00 committed by jbonofre
parent 468cd9c5cc
commit 9c1849cf62

View File

@ -107,7 +107,7 @@ public class DuplexAdvisoryRaceTest {
Subscription subscription = super.addConsumer(context, info);
// delay return to allow dispatch to interleave
if (context.isNetworkConnection()) {
TimeUnit.MILLISECONDS.sleep(200);
TimeUnit.MILLISECONDS.sleep(100);
}
return subscription;
};
@ -148,7 +148,7 @@ public class DuplexAdvisoryRaceTest {
LOG.info("received: " + responseReceived.get());
return responseReceived.get() >= numMessagesPerDest * numDests;
}
}, 10*60*1000)) {
}, 30*60*1000)) {
org.apache.activemq.TestSupport.dumpAllThreads("DD");