adoroszlai opened a new pull request #3182: URL: https://github.com/apache/ozone/pull/3182
## What changes were proposed in this pull request? Get expected count of nodes in specific state via unfiltered command, filtering by `grep`. This allows running the test with any number of datanodes. (cherry-pick of fix from EC branch) https://issues.apache.org/jira/browse/HDDS-6251 ## How was this patch tested? ``` $ cd hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/compose/ozone $ docker-compose up -d --scale datanode=5 # wait $ docker-compose exec scm robot smoketest/admincli/datanode.robot ============================================================================== Datanode :: Test ozone admin datanode command ============================================================================== List datanodes | PASS | ------------------------------------------------------------------------------ Filter list by UUID | PASS | ------------------------------------------------------------------------------ Filter list by NodeOperationalState | PASS | ------------------------------------------------------------------------------ Filter list by NodeState | PASS | ------------------------------------------------------------------------------ Incomplete command | PASS | ------------------------------------------------------------------------------ Datanode :: Test ozone admin datanode command | PASS | 5 tests, 5 passed, 0 failed ============================================================================== ``` CI: https://github.com/adoroszlai/hadoop-ozone/actions/runs/1968669983 -- 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]
