test(napi): decrease the worker sizes on Linux x64 musl platform

This commit is contained in:
LongYinan 2023-11-20 23:07:43 +08:00 committed by GitHub
parent 6a4f4f173d
commit 440bea29f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,10 @@ const concurrency = process.env.WASI_TEST
? 1
: process.platform === 'win32' ||
process.platform === 'darwin' ||
(process.platform === 'linux' && process.arch === 'x64')
(process.platform === 'linux' &&
process.arch === 'x64' &&
// @ts-expect-error
process?.report?.getReport()?.header?.glibcVersionRuntime)
? 50
: 10