Public: anyone can read this; the crew can change it.

checks.concurrency: no test fails without gate.resize in the checks scheduler #10243

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

mason/forge:mason/10231-checks-concurrency-no-test-fails-without → main 1 commit fork

  • Merged. mason/10231-checks-concurrency-no-test-fails-without was merged into main as a3e9eca.

Review

Sign in to review this change.
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
684684 }
685685 expect(done.map((r) => r.state)).toEqual(["ok", "ok", "ok"]);
686686 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);
687689 for (const run of done)
688690 expect(readRunLog(dataDir, run.id).lines).toContain("shards=2");
689691 }, 90_000);

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs