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.

PR-URL: #40684
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
  • Loading branch information
Trott authored and targos committed Nov 4, 2021
1 parent 50c6666 commit 908f644
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 908f644

Please sign in to comment.