diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-09-07 11:59:24 +0530 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2017-09-07 13:43:45 +0530 |
commit | 1bc51806526857ed7051e1fb322ebabfc3353ae8 (patch) | |
tree | 2af9feddd5815a2d1b1c060b4889e054d9bd5cfb /test/csit/plans | |
parent | 188d7bb3d67b2e2a0974ab462c079418757a7ea2 (diff) |
Add delay to allow docker initialisation
Add delay to allow docker initialisatino before running test case.
Change-Id: Iccb993efb9d282215986c5dfe6469aa1c0a3aad6
Issue-Id: CLI-35
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'test/csit/plans')
-rw-r--r-- | test/csit/plans/cli/sanity-check/setup.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/csit/plans/cli/sanity-check/setup.sh b/test/csit/plans/cli/sanity-check/setup.sh index 47b368cad..ca18f5176 100644 --- a/test/csit/plans/cli/sanity-check/setup.sh +++ b/test/csit/plans/cli/sanity-check/setup.sh @@ -18,7 +18,13 @@ source ${SCRIPTS}/common_functions.sh # Start auth -docker run -d --name cli -e CLI_MODE=daemon -p nexus3.onap.org:10001/onap/cli:1.1-STAGING-latest +docker run -d --name cli -e CLI_MODE=daemon nexus3.onap.org:10001/onap/cli:1.1-STAGING-latest + +# Wait for cli initialization +echo Wait for CLI initialization +for i in {1..40}; do + sleep 1 +done CLI_IP=`get-instance-ip.sh cli` |