Merge "Fix csit tests of policy/distribution"
authorGary Wu <gary.i.wu@huawei.com>
Mon, 11 Feb 2019 17:14:50 +0000 (17:14 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 11 Feb 2019 17:14:50 +0000 (17:14 +0000)
plans/policy/distribution/setup.sh
tests/policy/distribution/distribution-test.robot

index 9b894e3..40a15d1 100644 (file)
 # SPDX-License-Identifier: Apache-2.0
 # ============LICENSE_END=========================================================
 
-docker run -d --name policy-distribution -p 6969:6969 -it nexus3.onap.org:10001/onap/policy-distribution:2.0.0-SNAPSHOT-latest 
+docker run -d --name policy-distribution -p 6969:6969 -it nexus3.onap.org:10001/onap/policy-distribution:2.1.0-SNAPSHOT-latest
 
 POLICY_DISTRIBUTION_IP=`get-instance-ip.sh policy-distribution`
 echo DISTRIBUTION IP IS ${POLICY_DISTRIBUTION_IP}
-Wait for initialization
+Wait for initialization
 for i in {1..10}; do
    curl -sS ${POLICY_DISTRIBUTION_IP}:6969 && break
    echo sleep $i
index 1b9fa21..2ee1180 100644 (file)
@@ -8,8 +8,8 @@ Library     json
 Healthcheck
      [Documentation]    Runs Policy Distribution Health check
      ${auth}=    Create List    healthcheck    zb!XztG34 
-     Log    Creating session http://${POLICY_DISTRIBUTION_IP}:6969
-     ${session}=    Create Session      policy  http://${POLICY_DISTRIBUTION_IP}:6969   auth=${auth}
+     Log    Creating session https://${POLICY_DISTRIBUTION_IP}:6969
+     ${session}=    Create Session      policy  https://${POLICY_DISTRIBUTION_IP}:6969   auth=${auth}
      ${headers}=  Create Dictionary     Accept=application/json    Content-Type=application/json
      ${resp}=   Get Request     policy  /healthcheck     headers=${headers}
      Log    Received response from policy ${resp.text}