EV-04 round 3: guard the L4 test's reads for test_named_absence
checks / unit (pull_request) Successful in 21m33s
infra-pin / fresh (pull_request) Successful in 2s

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
glenn schrooyen
2026-11-16 08:22:16 +01:00
co-authored by Claude
parent f31dcb62b6
commit 6e6344eb02
+6 -3
View File
@@ -792,9 +792,12 @@ async def l4_late():
n0 = len(w.writes())
await w.act("car_phases", 3)
await w.step(60)
ws = w.writes()[n0:]
t_back = next(x[0] for x in ws if x[1] == "current" and x[0] > ret[0][0] - 1)
return ret[0][1], t_back - ret[0][0]
if not ret:
return None, 0.0
t_ret, took = ret[0]
t_back = next((x[0] for x in w.writes()[n0:]
if x[1] == "current" and x[0] > t_ret - 1), None)
return took, (0.0 if t_back is None else t_back - t_ret)
took_l4, gap_l4 = run(l4_late())