From 6691e23e4835cdf8b20b30cc0a580d822feed5f6 Mon Sep 17 00:00:00 2001 From: Charlie Chen Date: Wed, 24 Mar 2021 12:56:35 -0700 Subject: [PATCH] AMQ-8190 add wait time & shrink duration for CI test run --- .../org/apache/activemq/usecases/DuplexAdvisoryRaceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DuplexAdvisoryRaceTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DuplexAdvisoryRaceTest.java index 8abb530b54..9196311a58 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DuplexAdvisoryRaceTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DuplexAdvisoryRaceTest.java @@ -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");