test(napi): decrease the worker sizes on Linux x64 musl platform
This commit is contained in:
parent
6a4f4f173d
commit
440bea29f8
1 changed files with 7 additions and 4 deletions
|
@ -15,10 +15,13 @@ const t =
|
|||
const concurrency = process.env.WASI_TEST
|
||||
? 1
|
||||
: process.platform === 'win32' ||
|
||||
process.platform === 'darwin' ||
|
||||
(process.platform === 'linux' && process.arch === 'x64')
|
||||
? 50
|
||||
: 10
|
||||
process.platform === 'darwin' ||
|
||||
(process.platform === 'linux' &&
|
||||
process.arch === 'x64' &&
|
||||
// @ts-expect-error
|
||||
process?.report?.getReport()?.header?.glibcVersionRuntime)
|
||||
? 50
|
||||
: 10
|
||||
|
||||
t('should be able to require in worker thread', async (t) => {
|
||||
await Promise.all(
|
||||
|
|
Loading…
Reference in a new issue