Change-Id: Ibfb5dd6971382fe742db9401f55b96d2de020cff
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
if [ ${CONTROLLERSCOPE} == 'all' ]; then
ACTUALFEATURES="odl-integration-compatible-with-all,${CONTROLLERFEATURES}"
CONTROLLERMEM="3072m"
+ COOLDOWN_PERIOD="180"
else
ACTUALFEATURES="${CONTROLLERFEATURES}"
+ COOLDOWN_PERIOD="60"
fi
# Some versions of jenkins job builder result in feature list containing spaces
# and ending in newline. Remove all that.
fi
done
-echo "Cool down for 1 min :)..."
-sleep 60
+echo "Cool down for \${COOLDOWN_PERIOD} seconds :)..."
+sleep ${COOLDOWN_PERIOD}
echo "Listing all open ports on controller system..."
netstat -natu
ssh ${!CONTROLLERIP} "bash /tmp/verify-cluster-is-up.sh ${i} ${!CONTROLLERIP}"
done
-echo "Cool down for 1 min :)..."
-sleep 60
+if [ ${CONTROLLERSCOPE} == 'all' ]; then
+ COOLDOWN_PERIOD="180"
+else
+ COOLDOWN_PERIOD="60"
+fi
+echo "Cool down for ${COOLDOWN_PERIOD} seconds :)..."
+sleep ${COOLDOWN_PERIOD}
echo "Changing the testplan path..."
cat ${WORKSPACE}/test/csit/testplans/${TESTPLAN} | sed "s:integration:${WORKSPACE}:" > testplan.txt