elek commented on pull request #1410:
URL: https://github.com/apache/hadoop-ozone/pull/1410#issuecomment-690929244


   The easiest way IMHO to test cli is adding a robot test. 
   
   A simple example is here:
   
   
https://github.com/apache/hadoop-ozone/blob/master/hadoop-ozone/dist/src/main/smoketest/freon/freon.robot
   
   But `Wait Until Keyword Succeeds      3min       10sec    ` is not required, 
just the `Should contain....`
   
   you can easily test robot files with 
   ```
   docker-compsoe exec scm bash
   robot smoketest/basic/getconf.robot
   ```
   
   And it can be added to one of the `test.sh` (eg. compose/ozone/test.sh) to 
be part of the CI tests.


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to