From 9480f8aa40e555e0194170a2271967a0cd467102 Mon Sep 17 00:00:00 2001 From: Almog Laktivi Date: Thu, 23 Nov 2017 14:09:16 +0200 Subject: Add VVP integration tests Add VVP engagement manager container to integration tests (full flow) Change-Id: Iad7297f199b34f429005e8778d23c3c65b688e4d Issue-ID: VVP-31 Signed-off-by: Almog Laktivi --- test/csit/scripts/vvp/docker_health.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/csit/scripts/vvp/docker_health.sh') 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 -- cgit 1.2.3-korg