From 908f6447cd87dabc0d7cadeaada85700eecee8c1 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 31 Oct 2021 22:43:20 -0700 Subject: [PATCH] test,tools: increase timeout for benchmark tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Tobias Nießen Reviewed-By: Voltrex --- tools/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test.py b/tools/test.py index 5d4f48700c427b..3663e0f6098c53 100755 --- a/tools/test.py +++ b/tools/test.py @@ -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