NO-JIRA fixing intermittent failures

This commit is contained in:
Clebert Suconic 2020-12-17 11:51:48 -05:00
parent a948991fac
commit ef815997e9
1 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,8 @@ public abstract class JournalImplTestBase extends ActiveMQTestBase {
}
protected void stopJournal(final boolean reclaim) throws Exception {
journal.flush();
// We do a reclaim in here
if (reclaim) {
checkAndReclaimFiles();