mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-21 17:46:48 +00:00
ARTEMIS-3513 Fixing AIOJournalCompactTest
This commit is contained in:
parent
2557f80897
commit
20445bef7c
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user