File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,8 @@ while ! /Applications/Docker.app/Contents/Resources/bin/docker system info &>/de
177
177
(( i++ == 0 )) && printf %s '-- Waiting for Docker to finish starting up...' || printf '.'
178
178
command -v docker || echo 'test docker command loop: not found'
179
179
sleep 1
180
- # wait 180s(3min )
181
- if [ $i -gt 180 ];then exit 1;sudo /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check;uname -a;system_profiler SPHardwareDataType;echo "::error::-- Wait docker start $i s too long, exit"; exit 1; fi
180
+ # wait 600s(10min )
181
+ if [ $i -gt 600 ];then exit 1;sudo /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check;uname -a;system_profiler SPHardwareDataType;echo "::error::-- Wait docker start $i s too long, exit"; exit 1; fi
182
182
done
183
183
echo "::notice::-- Docker is ready.Wait time is $i s"
184
184
uname -a || true
You can’t perform that action at this time.
0 commit comments