R-1209 closed: the decoy suite gets 600 s in script-tests (the others keep 300 s; a time-out still fails) — it timed out on every CI push tonight
gates / gates (push) Successful in 15m40s

This commit is contained in:
2026-10-22 00:26:53 +02:00
parent f576d7f7ba
commit c2c130ecbb
4 changed files with 28 additions and 4 deletions
+10
View File
@@ -47,8 +47,18 @@ CASES = [
]
def timeouts_ok():
"""R-1209: only the decoy suite gets the longer limit; every other suite keeps 300 s, and a time-out still fails."""
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
import script_tests_gate as g
return (g.timeout_for("scripts/test_gate_decoys.py") == 600 and g.timeout_for("scripts/test_other.py") == g.TIMEOUT_S == 300)
def main():
bad = 0
t_ok = timeouts_ok()
bad += not t_ok
print("%s %-32s" % ("ok " if t_ok else "FAIL", "per-suite time limits (R-1209)"))
for name, files, nested, want in CASES:
got = gate(fake_repo(files), nested)
ok = got == want