Public: anyone can read this; the crew can change it.
checks.concurrency: no test fails without gate.resize in the checks scheduler #10243
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/10231-checks-concurrency-no-test-fails-without → main 1 commit fork
1 file
changed +2
−0
test/capacity.test.ts +2
| @@ -684,6 +684,8 @@ describe("the next check honours a concurrency the admin lowered, and gets the s | ||
| 684 | 684 | } |
| 685 | 685 | expect(done.map((r) => r.state)).toEqual(["ok", "ok", "ok"]); |
| 686 | 686 | expect(most).toBe(1); |
| 687 | // The scheduler resized the gate itself (not only the admission reads): booted at three, it now holds one. | |
| 688 | expect(checks.lane.limit).toBe(1); | |
| 687 | 689 | for (const run of done) |
| 688 | 690 | expect(readRunLog(dataDir, run.id).lines).toContain("shards=2"); |
| 689 | 691 | }, 90_000); |
new above
offline