diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2019-02-11 17:14:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-02-11 17:14:50 +0000 |
commit | ee8239c5d075b2f7e5ea8fb9b364db87339fbdc2 (patch) | |
tree | 390401f5779af4412445efa71e44fff3c7175dde /plans | |
parent | 847602ef419dff6e7a98c7e3068515882409b8c5 (diff) | |
parent | d6e21394edcb42be6620886662e47ab2ee9a85ab (diff) |
Merge "Fix csit tests of policy/distribution"
Diffstat (limited to 'plans')
-rw-r--r-- | plans/policy/distribution/setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plans/policy/distribution/setup.sh b/plans/policy/distribution/setup.sh index 9b894e3d..40a15d12 100644 --- a/plans/policy/distribution/setup.sh +++ b/plans/policy/distribution/setup.sh @@ -17,11 +17,11 @@ # 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 |