diff options
author | Sai Gandham <sg481n@att.com> | 2018-04-10 20:34:45 +0000 |
---|---|---|
committer | Sai Gandham <sg481n@att.com> | 2018-04-10 20:34:51 +0000 |
commit | 5e2f9c95ba0b02aacf87235b7e967bb3691da56b (patch) | |
tree | a7d0359855653108491403e691592abd23af8927 /test/csit/plans/aaf | |
parent | ff62d9927c0de82889b6620b76f5e5212404373f (diff) |
fix aaf csit connection timeout
Issue-ID: AAF-208
Change-Id: I21540ed05a5ba394e8b07bcefcfb6d8ad7558cae
Signed-off-by: Sai Gandham <sg481n@att.com>
Diffstat (limited to 'test/csit/plans/aaf')
-rw-r--r-- | test/csit/plans/aaf/aafapi/setup.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/csit/plans/aaf/aafapi/setup.sh b/test/csit/plans/aaf/aafapi/setup.sh index e64fb5548..4a312704f 100644 --- a/test/csit/plans/aaf/aafapi/setup.sh +++ b/test/csit/plans/aaf/aafapi/setup.sh @@ -39,15 +39,15 @@ chmod -R 777 $WORKSPACE/archives/aafcsit/authz/auth/auth-service/src/main/resour docker-compose up -d # Wait for initialization of Docker contaienr for AAF & Cassandra -for i in {1..50}; do +for i in {1..12}; do if [ $(docker inspect --format '{{ .State.Running }}' dockercompose_aaf_container_1) ] && \ [ $(docker inspect --format '{{ .State.Running }}' dockercompose_cassandra_container_1) ] && \ - [ $(docker inspect --format '{{ .State.Running }}' dockercompose_aaf_container_1) ] + [ $(docker inspect --format '{{ .State.Running }}' dockercompose_aaf_container_1) ] then - echo "AAF Service Running" - break - else - echo sleep $i + echo "AAF Service Running" + break + else + echo sleep $i sleep $i fi done @@ -62,11 +62,11 @@ echo CASSANDRA_IP=${CASSANDRA_IP} # Wait for initialization of docker services -for i in {1..50}; do - curl -sS -m 1 ${AAF_IP}:8101 && break +for i in {1..12}; do + curl -sS -m 1 ${AAF_IP}:8101 && break echo sleep $i sleep $i done #Pass any variables required by Robot test suites in ROBOT_VARIABLES -ROBOT_VARIABLES="-v AAF_IP:${AAF_IP}" +ROBOT_VARIABLES="-v AAF_IP:${AAF_IP}" |