File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
test/unit/org/apache/cassandra/db/commitlog Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -499,14 +499,18 @@ private void testSegmentFlaggingOnCreation0() throws Throwable
499
499
cdcMgr .awaitManagementTasksCompletion ();
500
500
// Delete all files in cdc_raw
501
501
for (File f : DatabaseDescriptor .getCDCLogLocation ().tryList ())
502
- f .delete ();
502
+ {
503
+ logger .debug ("delete {}" , f .absolutePath ());
504
+ FileUtils .deleteWithConfirm (f );
505
+ }
503
506
cdcMgr .updateCDCTotalSize ();
504
507
// Confirm cdc update process changes flag on active segment
505
508
expectCurrentCDCState (CDCState .PERMITTED );
506
509
}
507
510
508
511
// Clear out archived CDC files
509
512
for (File f : DatabaseDescriptor .getCDCLogLocation ().tryList ()) {
513
+ logger .debug ("delete {}" , f .absolutePath ());
510
514
FileUtils .deleteWithConfirm (f );
511
515
}
512
516
});
You can’t perform that action at this time.
0 commit comments