Bug 1767797 - Double the timeout on live site tests. r=perftest-reviewers,AlexandruIonescu

Differential Revision: https://phabricator.services.mozilla.com/D145495
This commit is contained in:
Gregory Mierzwinski 2022-05-09 11:35:16 +00:00
parent 924647eac9
commit b7396a48df

View File

@ -578,6 +578,11 @@ class Browsertime(Perftest):
if self.benchmark:
output_timeout = BROWSERTIME_BENCHMARK_OUTPUT_TIMEOUT
# Double the timeouts on live sites
if self.config["live_sites"]:
output_timeout *= 2
proc_timeout *= 2
proc = self.process_handler(cmd, processOutputLine=_line_handler, env=env)
proc.run(timeout=proc_timeout, outputTimeout=output_timeout)
proc.wait()