adoroszlai commented on a change in pull request #136: HDDS-2454. Improve OM HA
robot tests.
URL: https://github.com/apache/hadoop-ozone/pull/136#discussion_r344483843
##########
File path: hadoop-ozone/dist/src/main/smoketest/omha/testOMHA.robot
##########
@@ -42,17 +42,21 @@ Start OM
[arguments] ${OM_HOST}
Set Global Variable ${HOST}
${OM_HOST}
Open Connection And Log In
- Execute Command /opt/startOM.sh
--restart
- ${startupMsg} = Execute Command sudo ps aux | grep
om
+ ${rc1} = Execute Command /opt/startOM.sh
--restart
+ Should Be Equal As Integers ${rc1}
0
+ ${rc2} ${startMsg} = Execute Command sudo ps aux | grep
om
+ Should Be Equal As Integers ${rc2}
0
Close Connection
Should Contain ${startupMsg}
OzoneManagerStarter
Stop OM
[arguments] ${OM_HOST}
Set Global Variable ${HOST}
${OM_HOST}
Open Connection And Log In
- Execute Command /opt/stopOM.sh
- ${shutdownMsg} = Execute Command sudo ps aux | grep
om
+ ${rc1} = Execute Command /opt/stopOM.sh
return_rc=True
Review comment:
```suggestion
${rc1} = Execute Command /opt/stopOM.sh
return_stdout=False return_rc=True
```
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]