diff options
author | Michael Mokry <mm117s@att.com> | 2018-08-27 15:35:04 -0500 |
---|---|---|
committer | Michael Mokry <mm117s@att.com> | 2018-08-30 10:26:08 -0500 |
commit | d9592b919064ce28cc08577f41da47b1dfc77034 (patch) | |
tree | bef53b92fa4d4ffea1981caf061304a36e85fb4d /test/csit/scripts | |
parent | f452abb5a1cdb9ceadbdd8ae3a5f63d99e40ac15 (diff) |
Fix CSIT test failures in Policy
Modified the global policy url property to use https rather than http
Added -k option to curl command for getConfig to avoid certificate error
Change-Id: Iae57dd519a729dfe3c5bb715a88ee19253ff7a19
Issue-ID: INT-637
Signed-off-by: Michael Mokry <mm117s@att.com>
Diffstat (limited to 'test/csit/scripts')
-rwxr-xr-x | test/csit/scripts/policy/script1.sh | 2 |
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 |