[control] Tests: a 5 s trial margin, room for a loaded runner between a watch's end and the confirmation

This commit is contained in:
2026-12-02 15:04:46 +01:00
parent af545597c3
commit 2d45087145
4 changed files with 8 additions and 26 deletions
+3 -2
View File
@@ -237,8 +237,9 @@ mod unix {
"{stage}: edge.json untouched"
);
}
// A trial edge was serving reverts by itself at its deadline (watch 2 s + margin 2 s).
tokio::time::sleep(Duration::from_secs(5)).await;
// A trial edge was serving reverts by itself at its deadline (watch 2 s + margin 5 s,
// common/mod.rs: room for a loaded runner between the watch's end and the confirmation).
tokio::time::sleep(Duration::from_secs(8)).await;
let st = env.edge_status().await;
assert!(st["trial"].is_null(), "{stage}: trial still running: {st}");
if !confirmed {