From a4b757add5dcc7cc40827b30179a71b266acc621 Mon Sep 17 00:00:00 2001 From: ScottW514 Date: Sun, 16 Aug 2026 13:00:39 -0400 Subject: [PATCH] forgetest: a diag start is 202 Accepted with started:true forgectrl answers a started diagnostic with 202 (an async job); the cooling.flow-verify test asserted 200 and failed on the bench before the diagnostic ran. No catalog consequence beyond the test's own source hash. --- forgetest/forgetest/suite/cooling.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/forgetest/forgetest/suite/cooling.py b/forgetest/forgetest/suite/cooling.py index e3f5e26..384f48f 100644 --- a/forgetest/forgetest/suite/cooling.py +++ b/forgetest/forgetest/suite/cooling.py @@ -28,7 +28,8 @@ def flow_verify(ctx): ctx.check(not body.get("running"), "a diagnostic is already running (%s)", body.get("tool")) st, body = fc.post("/diag/flow-verify") ctx.log("POST /diag/flow-verify -> %s %s", st, body if isinstance(body, dict) else "") - ctx.check(st == 200, "could not start flow-verify (%s %s)", st, body) + ctx.check(st == 202 and isinstance(body, dict) and body.get("started") is True, + "could not start flow-verify (%s %s)", st, body) last_phase = None result = None t0 = time.time()