adoroszlai commented on PR #7403: URL: https://github.com/apache/ozone/pull/7403#issuecomment-2468036112
Looks like a test relies on `ozone admin om roles` exiting with success even in case of failure. ``` Check om admin command | FAIL | 255 != 0 ``` https://github.com/apache/ozone/blob/2797c45a6c3c7cd2312f0489cb64fb08431e5e74/hadoop-ozone/dist/src/main/smoketest/om-ratis/testOMAdminCmd.robot#L24-L26 Suggested fix: ```diff --- hadoop-ozone/dist/src/main/smoketest/om-ratis/testOMAdminCmd.robot +++ hadoop-ozone/dist/src/main/smoketest/om-ratis/testOMAdminCmd.robot @@ -22,5 +22,5 @@ Test Timeout 5 minutes *** Test Cases *** Check om admin command - ${result} = Execute and checkrc ozone admin om roles -id=omServiceIdDefault 0 + ${result} = Execute and ignore error ozone admin om roles -id=omServiceIdDefault Should Contain ${result} This command works only on OzoneManager HA cluster. ``` -- 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]
