smengcl commented on a change in pull request #1316:
URL: https://github.com/apache/hadoop-ozone/pull/1316#discussion_r478700729
##########
File path:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFileSystem.java
##########
@@ -154,21 +155,21 @@ public void
testCreateFileShouldCheckExistenceOfDirWithSameName()
} catch (FileAlreadyExistsException fae) {
// ignore as its expected
}
+
+ // Cleanup
+ fs.delete(new Path("/d1/"), true);
Review comment:
Yes, I also think `@BeforeClass` is better. Maybe another jira to
refactor the test class this way.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]