Skip to content

Commit b7a154b

Browse files
committed
allow MultiWorker test failure retires
1 parent 0c9eeff commit b7a154b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

__tests__/core/multiWorker.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import specHelper from "../utils/specHelper";
22
import { MultiWorker, Queue } from "../../src";
33

4+
// we enable this just for this test as the worker scaling is CPU dependent, and other parallel tests can cause shenanigans
5+
jest.retryTimes(3, { logErrorsBeforeRetry: true });
6+
47
let queue: Queue;
58
let multiWorker: MultiWorker;
69
const checkTimeout = specHelper.timeout / 10;

0 commit comments

Comments
 (0)