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: https://github.com/nodejs/node/pull/40684
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
This commit is contained in:
Rich Trott authored and Michaël Zasso committed 2021-11-06 10:59:57 +01:00
1 parent 8fa1c61e40
commit f731f5ffb5
1 file changed
+1 -1
+1 -1
View File
@@ -944,7 +944,7 @@ class Context(object):
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