diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-09-05 17:24:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-05 17:24:28 +0000 |
commit | e51891b6827f33390d4e81ac34222d862ad24880 (patch) | |
tree | 3606170d892a1f25ba5a3f4c4d7742209d606c8f /test/csit/plans/vnfsdk-refrepo | |
parent | 3fe68e0ad138da337d1b4055c76b115b9b3300f0 (diff) | |
parent | a279ba36fb0a92d5986190d059db1fcf04afa8c2 (diff) |
Merge "Add csit test cases for VNF Repository"
Diffstat (limited to 'test/csit/plans/vnfsdk-refrepo')
-rw-r--r-- | test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh b/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh index b54ea56ad..91e931e91 100644 --- a/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh +++ b/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh @@ -21,10 +21,16 @@ #Start market place docker run -d -i -t --name=refrepo -p 8702:8702 nexus3.onap.org:10001/onap/refrepo:1.0-STAGING-latest +# Wait for Market place initialization +echo Wait for VNF Repository initialization +for i in {1..30}; do + sleep 1 +done + REPO_IP=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' refrepo` # Pass any variables required by Robot test suites in ROBOT_VARIABLES -ROBOT_VARIABLES="-v SCRIPTS:{SCRIPTS} -v REPO_IP:${REPO_IP}" +ROBOT_VARIABLES="-v SCRIPTS:${SCRIPTS} -v REPO_IP:${REPO_IP}" echo ${ROBOT_VARIABLES} |