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 @@ -100,6 +100,12 @@ public void testFileWithMetrics() throws InterruptedException {

@Test
public void testNoFileWithNoMetrics() throws InterruptedException {
// Waiting and calling purgeQueueAndPersist method
// for tmp file to be renamed to timestamp file
Thread.sleep(5_000);
// Clearing out all the files in the directory again before we start.
eventLogFileHandler.deleteAllFilesWithPrivilege();

queuePurgerAndPersistor.purgeQueueAndPersist();
String bucketTime1 = String.valueOf(getTimeBucket());
assertFalse(
Expand Down