adoroszlai opened a new pull request, #3367: URL: https://github.com/apache/ozone/pull/3367
## What changes were proposed in this pull request? HDDS-4556 added smoketest for `start-ozone.sh` and `stop-ozone.sh`. However, OM is not exercised by pipeline operations, only DN and SCM. Thus the test passes even if OM is not started successfully. This can be reproduced by temporarily changing `start.sh` to not start OM by commenting lines: https://github.com/apache/ozone/blob/81b6bbad14141ddbfad0aa1ff97044490dc9aa79/hadoop-ozone/dist/src/main/compose/ozonescripts/start.sh#L25-L26 ``` $ cd hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/compose/ozonescripts $ ./test.sh ... Pipeline :: Test ozone admin pipeline command | PASS | 7 tests, 7 passed, 0 failed ... $ echo $? 0 ``` This change adds another test case that verifies OM, too. https://issues.apache.org/jira/browse/HDDS-6669 ## How was this patch tested? Verified that the test fails with the temporary breaking change in place: ``` $ cd hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/compose/ozonescripts $ ./test.sh ... Basic Freon smoketest for one datanode | FAIL | Test timeout 5 minutes exceeded. ... $ echo $? 1 ``` And passes normally: https://github.com/adoroszlai/hadoop-ozone/runs/6226303357#step:5:1112 -- 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]
