Setting a shorter timeout for introspector builds temporarily (#7230)

This commit is contained in:
Navidem 2022-02-02 12:44:01 -06:00 committed by GitHub
parent d5d7600072
commit d4d4a902da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -510,9 +510,13 @@ def run_build(oss_fuzz_project,
options = DEFAULT_GCB_OPTIONS
tags = [oss_fuzz_project + '-' + build_type, build_type, oss_fuzz_project]
timeout_value = build_lib.BUILD_TIMEOUT
# TODO (navidem): this is temporary until I fix shorter failing projects
if build_type == 'introspector':
timeout_value /= 4
build_body = {
'steps': build_steps,
'timeout': str(build_lib.BUILD_TIMEOUT) + 's',
'timeout': str(timeout_value) + 's',
'options': options,
'logsBucket': GCB_LOGS_BUCKET,
'tags': tags,