Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-07-10 08:06:04 +0300
committerRich Trott <rtrott@gmail.com>2021-04-11 01:18:10 +0300
commit2853b76e202e2549a8c02ed9f46621abcb76f392 (patch)
treeb49787aa64205621c2f9b888172630e81ebd1cea /tools
parent24426cd8c4ec4f6de14a7f66ce1fd7e0ddd8b590 (diff)
build: add pummel tests to ci runs
PR-URL: https://github.com/nodejs/node/pull/34289 Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/test.py b/tools/test.py
index 2884bf44bd1..cdeb40d59cd 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -574,7 +574,7 @@ class TestCase(object):
full_command = self.context.processor(command)
output = Execute(full_command,
self.context,
- self.context.GetTimeout(self.mode),
+ self.context.GetTimeout(self.mode, self.config.section),
env,
disable_core_files = self.disable_core_files)
return TestOutput(self,
@@ -940,8 +940,11 @@ class Context(object):
return name
- def GetTimeout(self, mode):
- return self.timeout * TIMEOUT_SCALEFACTOR[ARCH_GUESS or 'ia32'][mode]
+ def GetTimeout(self, mode, section=''):
+ timeout = self.timeout * TIMEOUT_SCALEFACTOR[ARCH_GUESS or 'ia32'][mode]
+ if section == 'pummel':
+ timeout = timeout * 4
+ return timeout
def RunTestCases(cases_to_run, progress, tasks, flaky_tests_mode):
progress = PROGRESS_INDICATORS[progress](cases_to_run, flaky_tests_mode)