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

@ -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':