Merge pull request #639 from charlie-cyf/AMQ8190

AMQ-8190 add wait time & shrink duration for CI test run
This commit is contained in:
Jean-Baptiste Onofré 2021-03-25 12:51:22 +01:00 committed by GitHub
commit fc0999cc87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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