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 committed 2021-11-01 09:28:35 -07:00
1 parent 747ef34fb0
commit cbcf86f23d
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