[control] Tests: a 15 s trial margin and waits on state, not fixed sleeps, for a loaded runner

This commit is contained in:
2026-12-02 16:47:58 +01:00
parent c626db8f25
commit f9e8ac801c
5 changed files with 37 additions and 30 deletions
+4 -1
View File
@@ -174,7 +174,10 @@ state_dir = "{state}"
credentials_dir = "{creds}"
watch_secs = {watch}
watch_every_secs = 1
trial_margin_secs = 5
# Production: 30 s. Control starts its watch after the trial's journal is written, which took
# over 5 s on the loaded shared runner (layers run rja3pbbd14fk1); edge's deadline counts from
# the trial's load. The tests that wait out a deadline use this value (apply.rs, engine_switch.rs).
trial_margin_secs = 15
health_poll_secs = 1
[routes]