From b46de9e8a6d2a87d6e475b6ee9bf66c2c2b9761f Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Mon, 14 Aug 2017 16:42:21 -0500 Subject: adjusting the timeout while reading status. Change-Id: I26829677f4688e75edf607b2fcd839385523c5aa Signed-off-by: Narinder Gupta --- ci/02-deploybundle.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ci/02-deploybundle.sh') diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index bc274819..1bb0084c 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -33,7 +33,7 @@ check_status() { while [ $retval -eq 0 ]; do if juju status | grep -q $waitstatus; then echo -n '.' - if [ $timeoutiter -ge 240 ]; then + if [ $timeoutiter -ge 180 ]; then echo 'timed out' retval=1 else @@ -133,7 +133,7 @@ if [[ "$opnfvmodel" = "openstack" ]]; then #update source if trusty is target distribution var=os-$opnfvsdn-$fea-$opnfvtype"-"$opnfvdistro"_"$openstack - if ([ $osdomname ] && [ $osdomname != "null" ] && [ $osdomname != "None"]); then + if ([ $osdomname ] && [ $osdomname != "null" ] && [ $osdomname != "None" ]); then var=$var"_"publicapi fi else -- cgit 1.2.3-korg