Public: anyone can read this; the crew can change it.
Full suite red: test/flake.test.ts #12032
Check · Review · Land · Live done — Landed and live in production.
torque/forge:torque/12029-full-suite-red-test-flake-test-ts → main 1 commit fork
1 file
changed +2
−0
test/spawn-stopped-restart.test.ts +2
| @@ -86,6 +86,7 @@ test("a stopped forge is started again at once when the ceiling is full of forge | ||
| 86 | 86 | // The first start is a due run's, which is also what tells the host how to restart a stopped forge. |
| 87 | 87 | await sleepIdleChildren(parent, 0); |
| 88 | 88 | for (let i = 0; i < 100 && starts.length === 0; i++) await Bun.sleep(50); |
| 89 | expect(starts.length).toBeGreaterThan(0); | |
| 89 | 90 | expect(starts).toEqual(["kid"]); |
| 90 | 91 | // It dies of memory while another forge, quiet and with no crew at work, holds the only slot. |
| 91 | 92 | awake.delete("cell-kid"); |
| @@ -129,6 +130,7 @@ test("a restart turned away for room says the time it will try again", async () | ||
| 129 | 130 | try { |
| 130 | 131 | await sleepIdleChildren(parent, 0); |
| 131 | 132 | for (let i = 0; i < 100 && starts.length === 0; i++) await Bun.sleep(50); |
| 133 | expect(starts.length).toBeGreaterThan(0); | |
| 132 | 134 | awake.delete("cell-kid"); |
| 133 | 135 | awake.add("cell-busy"); |
| 134 | 136 | arm = false; |
new above
offline