aboutsummaryrefslogtreecommitdiffstats
path: root/csit/resources
diff options
context:
space:
mode:
Diffstat (limited to 'csit/resources')
-rwxr-xr-xcsit/resources/scripts/wait_for_rest.sh2
-rw-r--r--csit/resources/tests/drools-applications-test.robot7
2 files changed, 4 insertions, 5 deletions
diff --git a/csit/resources/scripts/wait_for_rest.sh b/csit/resources/scripts/wait_for_rest.sh
index e400bbd4..ce47d600 100755
--- a/csit/resources/scripts/wait_for_rest.sh
+++ b/csit/resources/scripts/wait_for_rest.sh
@@ -54,7 +54,7 @@ do
do
if command -v docker > /dev/null 2>&1
then
- docker ps --format "table {{ .Names }}\t{{ .Status }}"
+ docker ps --format "table {{ .Image }}\t{{ .Names }}\t{{ .Status }}"
fi
curl "http://$host:$port" > /dev/null 2>&1
rc=$?
diff --git a/csit/resources/tests/drools-applications-test.robot b/csit/resources/tests/drools-applications-test.robot
index 3c4303ad..8b0a3694 100644
--- a/csit/resources/tests/drools-applications-test.robot
+++ b/csit/resources/tests/drools-applications-test.robot
@@ -69,10 +69,9 @@ DeployDroolsPolicies
[Documentation] Deploys the Policies to Drools
DeployPolicy deploy.drools.policies.json
Sleep 5s
- ${result}= CheckKafkaTopic policy-notification operational.modifyconfig
- Should Contain ${result} deployed-policies
- Should Contain ${result} operational.scaleout
- Should Contain ${result} operational.restart
+ @{otherMessages}= Create List deployed-policies operational.scaleout operational.restart
+ AssertMessageFromTopic policy-notification operational.modifyconfig ${otherMessages}
+
#VcpeExecute
# [Documentation] Executes VCPE Policy