Skip to content

Commit

Permalink
don't test timeouts in setMaxProcs
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Feb 27, 2022
1 parent e540453 commit e4fed9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BatchCluster.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ describe("BatchCluster", function () {
setFailratePct(0)
const opts = {
...DefaultOpts,
taskTimeoutMillis: sleepTimeMs + 10000, // < don't test timeouts here
taskTimeoutMillis: 5_000, // < don't test timeouts here
maxProcs,
maxTasksPerProcess: expectedTaskMax + 5, // < don't recycle procs for this test
minDelayBetweenSpawnMillis,
Expand Down Expand Up @@ -662,7 +662,7 @@ describe("BatchCluster", function () {
const opts = {
...DefaultOpts,
minDelayBetweenSpawnMillis: 0,
taskTimeoutMillis: sleepTimeMs * 4, // < don't test timeouts here
taskTimeoutMillis: 5_000, // < don't test timeouts here
maxProcs,
maxTasksPerProcess: 100, // < don't recycle procs for this test
processFactory,
Expand Down

0 comments on commit e4fed9d

Please sign in to comment.