Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Apr 12, 2024
1 parent 9e457cf commit 127507c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BatchCluster.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ describe("BatchCluster", function () {
expect(bc.pids()).to.not.include.members(pids)

expect(bc.meanTasksPerProc).to.be.within(
0.25, // because flaky
0.15, // because flaky (macOS on GHA resulted in 0.21)
opts.maxTasksPerProcess,
)
expect(bc.pids().length).to.be.lte(maxProcs)
Expand Down

0 comments on commit 127507c

Please sign in to comment.