no jira - fix intermittent checkthreadrule failure in JDBCJournalTest
This commit is contained in:
parent
0e77f93f83
commit
9484e49ab0
|
@ -88,7 +88,8 @@ public class JDBCJournalTest extends ActiveMQTestBase {
|
||||||
System.clearProperty("derby.connection.requireAuthentication");
|
System.clearProperty("derby.connection.requireAuthentication");
|
||||||
System.clearProperty("derby.user." + getJdbcUser());
|
System.clearProperty("derby.user." + getJdbcUser());
|
||||||
}
|
}
|
||||||
scheduledExecutorService.shutdown();
|
scheduledExecutorService.shutdownNow();
|
||||||
|
scheduledExecutorService.awaitTermination(5, TimeUnit.SECONDS);
|
||||||
scheduledExecutorService = null;
|
scheduledExecutorService = null;
|
||||||
executorService.shutdown();
|
executorService.shutdown();
|
||||||
executorService = null;
|
executorService = null;
|
||||||
|
|
Loading…
Reference in New Issue