aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/vvp/docker_health.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-12-01 18:39:17 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-01 18:39:17 +0000
commit15c739e0bfa1cd79c844867a4866fff2ce8e1f59 (patch)
tree1f33b8f9830accbf9f791047c4d7f69a544e431e /test/csit/scripts/vvp/docker_health.sh
parent5f57af152040b28fa8728964160dcf9e967698a2 (diff)
parent9480f8aa40e555e0194170a2271967a0cd467102 (diff)
Merge "Add VVP integration tests"
Diffstat (limited to 'test/csit/scripts/vvp/docker_health.sh')
-rw-r--r--test/csit/scripts/vvp/docker_health.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/csit/scripts/vvp/docker_health.sh b/test/csit/scripts/vvp/docker_health.sh
index d511a378f..520b2dc3a 100644
--- a/test/csit/scripts/vvp/docker_health.sh
+++ b/test/csit/scripts/vvp/docker_health.sh
@@ -25,9 +25,8 @@
echo "VVP-Engagement-Manager health-Check:"
echo ""
echo ""
-res=`curl -s -X GET -H "Accept: application/json" -H "Content-Type: application/json" -H "http://localhost:8000/vvp/v1/engmgr/vendors" | wc -l`
-if [[ ${res} == 0 ]]
-then
+res=`curl -s -X GET -H "Accept: application/json" -H "Content-Type: application/json" "http://localhost:9090/vvp/v1/engmgr/vendors" | wc -w`
+if [ ${res} == 0 ]; then
echo "Error [${res}] while performing vvp engagement manager vendor existance check"
exit 1
fi