sadanand48 commented on code in PR #3946:
URL: https://github.com/apache/ozone/pull/3946#discussion_r1020105434
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOmSnapshot.java:
##########
@@ -412,6 +413,20 @@ public void testListAddNewKey()
}
+ @Test
+ public void testNonExistentBucket()
+ throws Exception {
+ String volume = "vol-" + RandomStringUtils.randomNumeric(5);
+ String bucket = "buc-" + RandomStringUtils.randomNumeric(5);
+ //create volume but not bucket
+ store.createVolume(volume);
+ OzoneVolume vol = store.getVolume(volume);
Review Comment:
`M D DLS: Dead store to vol in
org.apache.hadoop.ozone.om.TestOmSnapshot.testNonExistentBucket() At
TestOmSnapshot.java:[line 423]` , This line can be removed
--
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]