mirror of https://github.com/apache/activemq.git
Merge pull request #639 from charlie-cyf/AMQ8190
AMQ-8190 add wait time & shrink duration for CI test run
This commit is contained in:
commit
fc0999cc87
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue