summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-09-04 22:36:18 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-04 22:36:18 +0000
commit5c5be7856e4824d064157be3e0c8bf6017845e0e (patch)
tree9ff3f5c21d5b2fda6d68961bccaa22dbd4d68c4b /test/csit/scripts
parent84e5c25170970d2f616be5f6c15b110f741e99b0 (diff)
parentd9592b919064ce28cc08577f41da47b1dfc77034 (diff)
Merge "Fix CSIT test failures in Policy"
Diffstat (limited to 'test/csit/scripts')
-rwxr-xr-xtest/csit/scripts/policy/script1.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csit/scripts/policy/script1.sh b/test/csit/scripts/policy/script1.sh
index d2229aae8..7bb9731c8 100755
--- a/test/csit/scripts/policy/script1.sh
+++ b/test/csit/scripts/policy/script1.sh
@@ -160,7 +160,7 @@ INTERVAL=20
TIME=0
while [ "$TIME" -lt "$TIME_OUT" ]; do
- curl -i -v -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'ClientAuth: cHl0aG9uOnRlc3Q=' -H 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' -H 'Environment: TEST' -X POST -d '{"policyName": ".*"}' http://${PDP_IP}:8081/pdp/api/getConfig && break
+ curl -k -i -v -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'ClientAuth: cHl0aG9uOnRlc3Q=' -H 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' -H 'Environment: TEST' -X POST -d '{"policyName": ".*"}' https://${PDP_IP}:8081/pdp/api/getConfig && break
echo Sleep: $INTERVAL seconds before testing if Policy is up. Total wait time up now is: $TIME seconds. Timeout is: $TIME_OUT seconds
sleep $INTERVAL