vinayakphegde commented on code in PR #7090:
URL: https://github.com/apache/hbase/pull/7090#discussion_r2142955781


##########
hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithCleanup.java:
##########
@@ -96,6 +119,70 @@ public void testBackupDeleteWithCleanupLogic() throws 
Exception {
 
     // Step 5: Verify System Table Update
     verifySystemTableUpdate(backupSystemTable, currentTime);
+
+    // Cleanup
+    deleteBackup(anotherBackupId);
+  }
+
+  @Test
+  public void testSingleBackupForceDelete() throws Exception {
+    // Step 1: Setup Backup Folders
+    long currentTime = EnvironmentEdgeManager.getDelegate().currentTime();
+    setupBackupFolders(currentTime);
+
+    // Log the directory structure before cleanup
+    logDirectoryStructure(fs, backupWalDir, "Directory structure BEFORE 
cleanup:");
+
+    // Step 2: Simulate Backup Creation

Review Comment:
   Sure
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to