ARTEMIS-3513 Fixing AIOJournalCompactTest

This commit is contained in:
Clebert Suconic 2021-10-05 15:03:59 -04:00
parent 2557f80897
commit 20445bef7c

View File

@ -1246,7 +1246,7 @@ public class NIOJournalCompactTest extends JournalImplTestBase {
@Test @Test
public void testReconfigureJournalSize() throws Exception { public void testReconfigureJournalSize() throws Exception {
setup(2, 60 * 1024, false); setup(2, 30 * 4096, false);
createJournal(); createJournal();
startJournal(); startJournal();
@ -1275,8 +1275,8 @@ public class NIOJournalCompactTest extends JournalImplTestBase {
stopJournal(); stopJournal();
// expanding the size once // expanding the size
setup(2, 120 * 1024, false); setup(2, 60 * 4096, false);
createJournal(); createJournal();
startJournal(); startJournal();
loadAndCheck(); loadAndCheck();
@ -1299,8 +1299,8 @@ public class NIOJournalCompactTest extends JournalImplTestBase {
} }
stopJournal(); stopJournal();
// shrinking the size later // shrinking the size
setup(2, 30 * 1024, false); setup(2, 15 * 4096, false);
createJournal(); createJournal();
startJournal(); startJournal();
loadAndCheck(); loadAndCheck();