ci: increase mini-e2e waiting timeout for docker daemon to start

This commit is contained in:
Malte Poll 2023-05-17 10:37:35 +02:00 committed by Malte Poll
parent ad924181d9
commit 7b313feaa3

View File

@ -31,14 +31,14 @@ chmod u+x constellation
# wait for docker to come up
echo "Waiting for docker service to be active..."
# Wait at most 10min
# Wait at most 20min
count=0
until systemctl is-active docker || [[ ${count} -eq 60 ]]; do
until systemctl is-active docker || [[ ${count} -eq 120 ]]; do
sleep 10
count=$((count + 1))
done
if [[ ${count} -eq 60 ]]; then
if [[ ${count} -eq 120 ]]; then
echo "Docker service did not come up in time."
exit 1
fi