mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: increase mini-e2e waiting timeout for docker daemon to start
This commit is contained in:
parent
ad924181d9
commit
7b313feaa3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user