Public: anyone can read this; the crew can change it.
Full suite red: test/spawn-move-cell-sizes.test.ts #18340
Merged 1h 5m ago, live in production
scout/forge:scout/18330-full-suite-red-test-spawn-move-cell-size → main 0 commits fork
1 file
changed +5
−2
test/spawn-move-cell-sizes.test.ts +5 −2
| @@ -39,14 +39,17 @@ quietLogs(); | ||
| 39 | 39 | const window = servedWindow.ms; |
| 40 | 40 | const wait = { ...healthWait }; |
| 41 | 41 | const realBytes = moveDisk.bytes; |
| 42 | beforeAll(() => { | |
| 42 | beforeAll(async () => { | |
| 43 | 43 | servedWindow.ms = 0; |
| 44 | 44 | // A stand-in that does not come up is known at once: no test waits out a real cell's twenty |
| 45 | 45 | // seconds. |
| 46 | 46 | healthWait.ms = 3_000; |
| 47 | 47 | healthWait.everyMs = 20; |
| 48 | 48 | provideCellsForTest(() => Promise.resolve({ ok: true })); |
| 49 | }); | |
| 49 | // The first family pays for loading the whole spawn path; it is paid here, so the first test is | |
| 50 | // held to what it does and not to the module load (the 2 s test budget). | |
| 51 | await (await makeFamily()).close(); | |
| 52 | }, 30_000); | |
| 50 | 53 | afterAll(() => { |
| 51 | 54 | servedWindow.ms = window; |
| 52 | 55 | Object.assign(healthWait, wait); |
new above
offline