mirror of https://github.com/apache/activemq.git
add some diagnostics to track intermittent ci failure
This commit is contained in:
parent
06e929f101
commit
e52a052761
|
@ -18,6 +18,7 @@ package org.apache.activemq.store.jdbc;
|
||||||
|
|
||||||
import org.apache.activemq.ActiveMQXAConnection;
|
import org.apache.activemq.ActiveMQXAConnection;
|
||||||
import org.apache.activemq.ActiveMQXAConnectionFactory;
|
import org.apache.activemq.ActiveMQXAConnectionFactory;
|
||||||
|
import org.apache.activemq.TestSupport;
|
||||||
import org.apache.activemq.broker.BrokerService;
|
import org.apache.activemq.broker.BrokerService;
|
||||||
import org.apache.activemq.util.IOHelper;
|
import org.apache.activemq.util.IOHelper;
|
||||||
import org.apache.commons.dbcp2.BasicDataSource;
|
import org.apache.commons.dbcp2.BasicDataSource;
|
||||||
|
@ -142,6 +143,9 @@ public class JDBCCleanupLimitedPoolTest {
|
||||||
|
|
||||||
executorService.shutdown();
|
executorService.shutdown();
|
||||||
boolean allComplete = executorService.awaitTermination(40, TimeUnit.SECONDS);
|
boolean allComplete = executorService.awaitTermination(40, TimeUnit.SECONDS);
|
||||||
|
if (!allComplete) {
|
||||||
|
TestSupport.dumpAllThreads("Why-at-count-" + doneCommit.getCount() +"-");
|
||||||
|
}
|
||||||
done.countDown();
|
done.countDown();
|
||||||
assertTrue("all complete", allComplete);
|
assertTrue("all complete", allComplete);
|
||||||
executorService.shutdownNow();
|
executorService.shutdownNow();
|
||||||
|
|
Loading…
Reference in New Issue