Github user clebertsuconic commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1883#discussion_r169775676
--- Diff:
tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/journal/impl/AlignedJournalImplTest.java
---
@@ -1010,6 +1012,9 @@ public void testReclaimAfterRollabck() throws
Exception {
journalImpl.forceMoveNextFile();
+ // wait for the previous call to forceMoveNextFile() to complete
+ assertTrue(Wait.waitFor(() -> factory.listFiles("tt").size() ==
COUNT + 3, 2000, 50));
--- End diff --
I can't believe it! :) nice catch!! ð
---