X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fgeode%2Fapache-geode-slave%2Fslave_setup.sh;h=306636a4afaaceced4750303bf1c667bdc520fd4;hb=d643ea7acf4cd3e57ba89f092d39e0874b8b111c;hp=91615e08a21a345069d0d903c5c4c5a4df473bc2;hpb=0d0334069cf0c92fe5dc700f96438c8986a3bc57;p=infra%2Fcicd.git diff --git a/jjb/geode/apache-geode-slave/slave_setup.sh b/jjb/geode/apache-geode-slave/slave_setup.sh index 91615e08..306636a4 100755 --- a/jjb/geode/apache-geode-slave/slave_setup.sh +++ b/jjb/geode/apache-geode-slave/slave_setup.sh @@ -27,11 +27,11 @@ while sudo lsof ${DPKG_LOCK} > /dev/null 2>&1 ; do echo "DPKG file locked: ${DPKG_LOCK}." echo " Waiting for another pkg instalaltion process to finish ..." sleep 10 - if [[ ${try} -gt 30 ]] ; then + if [[ ${try} -gt 60 ]] ; then echo "ERROR: Max number of re-tries reached, exiting..." exit 1 fi - let "try++" + try=$((try + 1)) done sudo apt-get update