Skip to content

Commit

Permalink
allow MultiWorker test failure retires
Browse files Browse the repository at this point in the history
  • Loading branch information
evantahler committed Jun 16, 2024
1 parent 0c9eeff commit b7a154b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions __tests__/core/multiWorker.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import specHelper from "../utils/specHelper";
import { MultiWorker, Queue } from "../../src";

// we enable this just for this test as the worker scaling is CPU dependent, and other parallel tests can cause shenanigans
jest.retryTimes(3, { logErrorsBeforeRetry: true });

let queue: Queue;
let multiWorker: MultiWorker;
const checkTimeout = specHelper.timeout / 10;
Expand Down

0 comments on commit b7a154b

Please sign in to comment.