diff --git a/src/terminal/metadata.rs b/src/terminal/metadata.rs index 91b1d582..e82a5a3a 100644 --- a/src/terminal/metadata.rs +++ b/src/terminal/metadata.rs @@ -861,7 +861,9 @@ mod tests { clear_title: false, clear_display_agent: false, clear_state_labels: false, - ttl: Some(Duration::from_millis(1)), + // Expiry is forced with the captured deadline below; keep the + // no-extension assertion independent of wall-clock scheduling. + ttl: Some(Duration::from_secs(60)), seq: None, }); let old_deadline = terminal.next_agent_metadata_expiry().unwrap();