0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 12:10:08 +01:00

test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices

PR-URL: https://github.com/nodejs/node/pull/50363
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
Shi Pujin 2023-11-02 15:29:56 +08:00 committed by GitHub
parent 9e30518107
commit 1b74aa3cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -915,6 +915,7 @@ class LiteralTestSuite(TestSuite):
TIMEOUT_SCALEFACTOR = {
'arm' : { 'debug' : 8, 'release' : 3 }, # The ARM buildbots are slow.
'riscv64' : { 'debug' : 8, 'release' : 3 }, # The riscv devices are slow.
'loong64' : { 'debug' : 4, 'release' : 1 },
'ia32' : { 'debug' : 4, 'release' : 1 },
'ppc' : { 'debug' : 4, 'release' : 1 },
's390' : { 'debug' : 4, 'release' : 1 } }

View File

@ -99,6 +99,8 @@ def GuessArchitecture():
return 's390'
elif id == 'riscv64':
return 'riscv64'
elif id == 'loong64':
return 'loong64'
else:
id = platform.processor()
if id == 'powerpc':