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
gates / gates (push) Successful in 15m40s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user