SaketaChalamchala commented on code in PR #10726:
URL: https://github.com/apache/ozone/pull/10726#discussion_r3606015040
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/service/TestDirectoryDeletingServiceWithFSO.java:
##########
@@ -789,6 +773,8 @@ public void testDirDeletedTableCleanUpForSnapshot() throws
Exception {
// Manual cleanup deletedDirTable for next tests
client.getObjectStore().deleteSnapshot(volumeName, bucketName, "snap1");
+ cluster.getOzoneManager().awaitDoubleBufferFlush();
+ waitForSnapshotsPurged(snapshotInfoTable, 0);
Review Comment:
Same comment as above. It's better to move `waitForSnapshotsPurged` and
`cleanupTables()` if suspended to the test teardown method `cleanup`.
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/service/TestDirectoryDeletingServiceWithFSO.java:
##########
@@ -789,6 +773,8 @@ public void testDirDeletedTableCleanUpForSnapshot() throws
Exception {
// Manual cleanup deletedDirTable for next tests
client.getObjectStore().deleteSnapshot(volumeName, bucketName, "snap1");
+ cluster.getOzoneManager().awaitDoubleBufferFlush();
Review Comment:
```suggestion
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]