Sleep longer before retrying to give VM more time to startup

This commit is contained in:
Kovid Goyal 2024-07-29 07:19:10 +05:30
parent 1b1f5656ee
commit 2e829c1349
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -78,10 +78,10 @@ def run_with_retry(cmd: str) -> None:
needs_retry = 'arm64' in cmd or building_nightly
if not needs_retry:
raise
print('Build failed, retrying in a few seconds...', file=sys.stderr)
print('Build failed, retrying in a minute seconds...', file=sys.stderr)
if 'macos' in cmd:
call('python ../bypy macos shutdown')
time.sleep(25)
time.sleep(60)
call(cmd, echo=True)
for x in ('64', 'arm64'):