Cleanup for Check Service Status 19/73419/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Mon, 25 Jun 2018 20:15:02 +0000 (13:15 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Mon, 25 Jun 2018 21:48:40 +0000 (14:48 -0700)
We got https://git.opendaylight.org/gerrit/73392 in fast
to fix failing tests, but wanted to add the cleanup I
noticed when I looked at the already merged patch

Change-Id: Ie03cf983ce1638974d6c6821b2ebd1b0d56ac616
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/Genius.robot

index 7873967ece10236b35fff57cf38b12c066644e84..4d8f02319beea378d31c7d2cadc6cae5170b3987 100644 (file)
@@ -96,8 +96,8 @@ check establishment
 Check Service Status
     [Arguments]    ${odl_ip}    ${system_ready_state}    ${service_state}    @{service_list}
     [Documentation]    Issues the karaf shell command showSvcStatus to verify the ready and service states are the same as the arguments passed
-    ${service_status_output} =    Run Keyword If    ${NUM_ODL_SYSTEM}>1    Issue_Command_On_Karaf_Console    showSvcStatus -n ${odl_ip}    ${odl_ip}    8101
-    ...    ELSE    Issue_Command_On_Karaf_Console    showSvcStatus    ${odl_ip}    8101
+    ${service_status_output} =    Run Keyword If    ${NUM_ODL_SYSTEM} > 1    Issue_Command_On_Karaf_Console    showSvcStatus -n ${odl_ip}    ${odl_ip}    ${KARAF_SHELL_PORT}
+    ...    ELSE    Issue_Command_On_Karaf_Console    showSvcStatus    ${odl_ip}    ${KARAF_SHELL_PORT}
     Should Contain    ${service_status_output}    ${system_ready_state}
     : FOR    ${service}    IN    @{service_list}
     \    Should Match Regexp    ${service_status_output}    ${service} +: ${service_state}