adoroszlai commented on code in PR #7802:
URL: https://github.com/apache/ozone/pull/7802#discussion_r1940649596


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneShellHA.java:
##########
@@ -2190,8 +2195,7 @@ public void testClientBucketLayoutValidation() {
     ParameterException exception = assertThrows(ParameterException.class,
         () -> execute(ozoneShell, arg2));
     assertThat(exception.getMessage())
-        .contains("expected one of [FILE_SYSTEM_OPTIMIZED, OBJECT_STORE, " +
-            "LEGACY]");
+        .contains("cannot convert '' to BucketLayout");

Review Comment:
   The complete error message is this:
   
   ```
   Invalid value for option '--layout': cannot convert '' to BucketLayout 
(java.lang.IllegalArgumentException: Unknown bucket layout: )
   ```
   
   The part outside `()` comes from picocli.



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

Reply via email to