mccormickt12 commented on code in PR #6198:
URL: https://github.com/apache/hadoop/pull/6198#discussion_r1367803777
##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/viewfs/TestViewFileSystemHdfs.java:
##########
@@ -219,6 +221,9 @@ public void testTrashRootsAfterEncryptionZoneDeletion()
throws Exception {
DFSTestUtil.verifyDelete(shell, fsTarget, zone, true);
assertTrue("ViewFileSystem trash roots should include EZ zone trash",
(fsView.getTrashRoots(true).size() == 2));
+ } finally {
+ DFSTestUtil.deleteKey("test_key", cluster);
Review Comment:
If i recall correctly I needed to add this because a test was failing. My
new tests also use test keys, and i don't think this cleanup is correct between
tests.
I can try and remove it thought and double check if you prefer (It just
takes a long time for tests to run), but happy to do it
--
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]