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

Full suite red: test/apps-idle.test.ts #11357

Merged opened this in answer to

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

Merged

mason/forge:mason/11352-full-suite-red-test-apps-idle-test-ts → main 1 commit fork

  • Merged. mason/11352-full-suite-red-test-apps-idle-test-ts was merged into main as f9b2bad.

Review

Sign in to review this change.
1 file changed +6 −3
test/apps-idle.test.ts +6 −3
@@ -156,9 +156,12 @@ describe("previews of idle pulls sleep", () => {
156156 // running. When it is not running, its own words are the failure.
157157 const production = () =>
158158 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 });
162165 expect(`${production()?.state}: ${production()?.error ?? ""}`).toBe(
163166 "running: ",
164167 );

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs