aboutsummaryrefslogtreecommitdiffstats
path: root/kud
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2019-08-08 13:19:43 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-08 13:19:43 +0000
commit845cdd2aa5d790e57b0b2999180df4abc6724bf1 (patch)
tree6a7858609ff116ec93b8ba4fd6da9bb7b6b27e3c /kud
parenta642f3becd14462123691a637a6fe4835a9b945e (diff)
parent30bd837f31755aa018d7226f28798e324ff01484 (diff)
Merge "Fix istio test scenario endpoint API validation"
Diffstat (limited to 'kud')
-rwxr-xr-xkud/tests/istio.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/tests/istio.sh b/kud/tests/istio.sh
index c525bb8e..e9ef00c6 100755
--- a/kud/tests/istio.sh
+++ b/kud/tests/istio.sh
@@ -36,5 +36,5 @@ for deployment in details-v1 productpage-v1 ratings-v1 reviews-v1 reviews-v2 rev
done
INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}')
INGRESS_HOST=$(kubectl get po -l istio=ingressgateway -n istio-system -o 'jsonpath={.items[0].status.hostIP}')
-curl -o /dev/null -s -w "%{http_code}\n" http://$INGRESS_HOST:$INGRESS_PORT/productpage
+call_api http://$INGRESS_HOST:$INGRESS_PORT/productpage >/dev/null
popd