mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
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:
1 parent
747ef34fb0
commit
cbcf86f23d
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user