Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ public void testDeleteOutdatedFiles() throws Exception {
walNode.onMemTableFlushed(memTable);
walNode.onMemTableCreated(new PrimitiveMemTable(databasePath, dataRegionId), tsFilePath);
Awaitility.await().until(() -> walNode.isAllWALEntriesConsumed());
// Wait for the sync task to finish rolling the WAL writer before checking the file names.
for (WALFlushListener walFlushListener : walFlushListeners) {
assertEquals(WALFlushListener.Status.SUCCESS, walFlushListener.waitForResult());
}
// check existence of _0-0-0.wal file and _1-0-1.wal file
assertTrue(
new File(
Expand Down
Loading