You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/11/10 11:07:19 UTC

[GitHub] [hadoop-ozone] adoroszlai commented on a change in pull request #136: HDDS-2454. Improve OM HA robot tests.

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_r344485334
 
 

 ##########
 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
 
 Review comment:
   ```suggestion
                                Should Contain                  ${startMsg}           OzoneManagerStarter
   ```

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


With regards,
Apache Git Services

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