[ROBOT] Again fix for DCAEMOD test for ServiceMesh 23/132023/1
authorAndreas Geissler <andreas-geissler@telekom.de>
Mon, 7 Nov 2022 09:08:20 +0000 (10:08 +0100)
committerAndreas Geissler <andreas-geissler@telekom.de>
Mon, 7 Nov 2022 09:08:20 +0000 (10:08 +0100)
Corrected another failing test in case of ServiceMesh deploymenty

Issue-ID: INT-2160

Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I3c89184121a18a6c113145df52b779481546bcb4

robot/resources/dcaemod_interface.robot

index ae7e20c..d018af4 100644 (file)
@@ -294,7 +294,7 @@ Restart Runtime API
       Wait Until Keyword Succeeds  2 min  5s    Check Runtime API
 
 Check Runtime API
-      ${check_command}=                       Set Variable                             kubectl get pods -n onap | grep dcaemod-runtime-api | grep Running | grep 1/1
+      ${check_command}=                       Set Variable                             kubectl get deployment -n onap | grep dcaemod-runtime-api | 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