diff options
author | Almog Laktivi <al942u@att.com> | 2017-11-23 14:09:16 +0200 |
---|---|---|
committer | Almog Laktivi <al942u@att.com> | 2017-11-23 14:09:28 +0200 |
commit | 9480f8aa40e555e0194170a2271967a0cd467102 (patch) | |
tree | 26864ab56f4e9711fd78cac5097c87bb28885113 /test/csit/scripts/vvp/docker_health.sh | |
parent | 25bfc6b99f73bd02047dcc13e64390140777402a (diff) |
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 <al942u@att.com>
Diffstat (limited to 'test/csit/scripts/vvp/docker_health.sh')
-rw-r--r-- | test/csit/scripts/vvp/docker_health.sh | 5 |
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 |