[ROBOT] Fix the DCAEMOD testcase for ServiceMesh
[testsuite.git] / robot / resources / dcaemod_interface.robot
index d6d6e36..ae7e20c 100644 (file)
@@ -240,7 +240,7 @@ Deploy Applictaion
 
 Check NGINX Applictaion
      [Arguments]    ${compSpecName}
-      ${check_command}=                       Set Variable                             kubectl get pods -n onap | grep ${compSpecName} | grep Running | grep 1/1
+      ${check_command}=                       Set Variable                             kubectl get deployment -n onap | grep ${compSpecName} | grep 1/1
       ${check_command_command_output}=        Run And Return Rc And Output             ${check_command}
       Log                                     ${check_command_command_output[1]}
       Should Be Equal As Integers             ${check_command_command_output[0]}       0
@@ -307,4 +307,4 @@ Delete Process Group And Deployment
     Run Keyword If  ${IS_PROCESS_GROUP_SET}  Run Keywords  Delete Process Group  ${PROCESS_GROUP_ID}
     ...                                               AND  Set Suite Variable  ${IS_PROCESS_GROUP_SET}  False
     Run Keyword If  ${IS_SERVICE_DEPLOYED}   Run Keywords  Undeploy Application   ${CHART_NAME}
-    ...                                               AND  Set Suite Variable  ${IS_SERVICE_DEPLOYED}  False
\ No newline at end of file
+    ...                                               AND  Set Suite Variable  ${IS_SERVICE_DEPLOYED}  False