jyotirmoy-gh commented on code in PR #3946:
URL: https://github.com/apache/ozone/pull/3946#discussion_r1020120048
##########
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:
Thanks for pointing it out. Removed the line.
--
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]