[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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user