bharatviswa504 commented on a change in pull request #1304: URL: https://github.com/apache/hadoop-ozone/pull/1304#discussion_r468747830
########## File path: hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAMetadataOnly.java ########## @@ -348,6 +362,57 @@ public void testJMXMetrics() throws Exception { Assert.assertTrue((long) flushCount >= 0); } + @Test + public void testOMCreateDirectory() throws Exception { + ObjectStore objectStore = getCluster().getRpcClient().getObjectStore(); + String volumeName = "vol"; + String bucketName = "buk"; + String keyName = "test_dir"; + + objectStore.createVolume(volumeName); + objectStore.getVolume(volumeName).createBucket(bucketName); + + OMRequest request = OMRequest.newBuilder().setCreateDirectoryRequest( Review comment: https://github.com/apache/hadoop-ozone/blob/master/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/OzoneBucket.java#L588 ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org