aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-10-24 13:16:29 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2022-10-24 13:21:40 +0200
commit633768a4845eb0b59f7621a1fc98beeebfb43947 (patch)
tree1b806110a067024c3c78921d4c9c808453033866
parent8ced0b365d73ad1f5f544e824e4437d7d17224b2 (diff)
[ROBOT] Fix the DCAEMOD testcase for ServiceMesh
In SM there will be 2 containers running instead of 1 Therefor the readiness of the deployment should be checked instead of the number of running containers Issue-ID: INT-2160 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I8e22a5b05b51e5f682dd76c5c362588099132437
-rw-r--r--robot/resources/dcaemod_interface.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/robot/resources/dcaemod_interface.robot b/robot/resources/dcaemod_interface.robot
index d6d6e369..ae7e20c3 100644
--- a/robot/resources/dcaemod_interface.robot
+++ b/robot/resources/dcaemod_interface.robot
@@ -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