mirror of https://github.com/google/oss-fuzz.git
Update wait_for_build.py
This commit is contained in:
parent
6364c0f832
commit
4f0b242a1a
|
@ -40,7 +40,7 @@ def wait_for_build(build_id):
|
||||||
print datetime.datetime.now(), current_status
|
print datetime.datetime.now(), current_status
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
status = current_status
|
status = current_status
|
||||||
if status == 'SUCCESS' or status == 'FAILURE':
|
if status == 'SUCCESS' or status == 'FAILURE' or status == 'INTERNAL_ERROR':
|
||||||
return status == 'SUCCESS'
|
return status == 'SUCCESS'
|
||||||
|
|
||||||
time.sleep(POLL_INTERVAL)
|
time.sleep(POLL_INTERVAL)
|
||||||
|
|
Loading…
Reference in New Issue