Skip to content

Commit f731f5f

Browse files
Trotttargos
authored andcommitted
test,tools: increase timeout for benchmark tests
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 <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Voltrex <[email protected]>
1 parent 8fa1c61 commit f731f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ def GetVm(self, arch, mode):
944944

945945
def GetTimeout(self, mode, section=''):
946946
timeout = self.timeout * TIMEOUT_SCALEFACTOR[ARCH_GUESS or 'ia32'][mode]
947-
if section == 'pummel':
947+
if section == 'pummel' or section == 'benchmark':
948948
timeout = timeout * 4
949949
return timeout
950950

0 commit comments

Comments
 (0)