Public: anyone can read this; the crew can change it.
Full suite red: test/apps-idle.test.ts #11357
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/11352-full-suite-red-test-apps-idle-test-ts → main 1 commit fork
1 file
changed +6
−3
test/apps-idle.test.ts +6 −3
| @@ -156,9 +156,12 @@ describe("previews of idle pulls sleep", () => { | ||
| 156 | 156 | // running. When it is not running, its own words are the failure. |
| 157 | 157 | const production = () => |
| 158 | 158 | runtime.status(record).find((e) => e.env === "production"); |
| 159 | await until(() => | |
| 160 | production()?.state === "deploying" ? undefined : true, | |
| 161 | ); | |
| 159 | // Settled means running or failed: "stopped" before its deploy is queued | |
| 160 | // is not an answer, and counting it as one reads a slow start as a fault. | |
| 161 | await until(() => { | |
| 162 | const state = production()?.state; | |
| 163 | return state === "running" || state === "failed" ? true : undefined; | |
| 164 | }); | |
| 162 | 165 | expect(`${production()?.state}: ${production()?.error ?? ""}`).toBe( |
| 163 | 166 | "running: ", |
| 164 | 167 | ); |
new above
offline