chore: skip worker_thread test on Linux aarch64 (#1354)
This commit is contained in:
parent
c328d8ece5
commit
b5cfa93789
2 changed files with 5 additions and 2 deletions
|
@ -7,7 +7,7 @@ const configuration = {
|
|||
environmentVariables: {
|
||||
TS_NODE_PROJECT: './examples/tsconfig.json',
|
||||
},
|
||||
timeout: '2m',
|
||||
timeout: '5m',
|
||||
workerThreads: true,
|
||||
concurrency: process.env.CI ? 2 : cpus().length,
|
||||
failFast: false,
|
||||
|
|
|
@ -5,7 +5,10 @@ import test from 'ava'
|
|||
|
||||
import { Animal, Kind, DEFAULT_COST } from '../index'
|
||||
|
||||
test('should be able to require in worker thread', async (t) => {
|
||||
const t =
|
||||
process.arch === 'arm64' && process.platform === 'linux' ? test.skip : test
|
||||
|
||||
t('should be able to require in worker thread', async (t) => {
|
||||
await Promise.all(
|
||||
Array.from({ length: 100 }).map(() => {
|
||||
const w = new Worker(join(__dirname, 'worker.js'))
|
||||
|
|
Loading…
Reference in a new issue