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 6, 2021
1 parent 8fa1c61 commit f731f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/test.py
Original file line number Diff line number Diff line change
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 f731f5f

Please sign in to comment.