Skip to content

Commit

Permalink
test,tools: increase timeout for benchmark tests
Browse files Browse the repository at this point in the history
test-benchmark-buffer is consistently timing out on a single Windows
host in CI. Rather than try to figure out if we need to scale the
timeout up for a certain memory limit or chip speed or something else,
let's increase the timeout for benchmark tests in general.
  • Loading branch information
Trott committed Nov 1, 2021
1 parent 1361859 commit 86e048f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/test.py
Expand Up @@ -944,7 +944,7 @@ def GetVm(self, arch, mode):

def GetTimeout(self, mode, section=''):
timeout = self.timeout * TIMEOUT_SCALEFACTOR[ARCH_GUESS or 'ia32'][mode]
if section == 'pummel':
if section == 'pummel' or section == 'benchmark':
timeout = timeout * 4
return timeout

Expand Down

0 comments on commit 86e048f

Please sign in to comment.