sadanand48 commented on a change in pull request #2110:
URL: https://github.com/apache/ozone/pull/2110#discussion_r613041797



##########
File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneShellHA.java
##########
@@ -558,6 +560,86 @@ public void testDeleteToTrashOrSkipTrash() throws 
Exception {
     }
   }
 
+  @Test
+  public void testDeleteTrashNoSkipTrash() throws Exception {
+
+    // Test delete from Trash directory removes item from filesystem
+
+    // setup configuration to use TrashPolicyOzone
+    // (default is TrashPolicyDefault)

Review comment:
       Thanks @neils-dev for making the change . Sorry , I wasn't clear . I 
meant to use the same URI as that of `testDeleteToTrashOrSkipTrash` i.e to 
include serviceId as part of the URI.  Since this is HA setup ,its required to 
pass the serviceID.  Please use the same URI as that of 
`testDeleteToTrashOrSkipTrash`  i.e
   ```
   final String hostPrefix = OZONE_OFS_URI_SCHEME + "://" + omServiceId;
   OzoneConfiguration clientConf = getClientConfForOFS(hostPrefix,conf);
   
   ```
   instead of 
   `OzoneConfiguration clientConf =
               getClientConfForOzoneTrashPolicy("ofs://localhost", conf);`
   




-- 
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]

Reply via email to