Fix time-based test sometimes failing by increasing sleep

This commit is contained in:
ppom 2026-02-09 12:00:00 +01:00
commit 41bc3525f8
No known key found for this signature in database

View file

@ -266,7 +266,7 @@ async fn three_matches_then_action_then_delayed_action() {
);
// Now the second action executes
tokio::time::sleep(Duration::from_millis(100)).await;
tokio::time::sleep(Duration::from_millis(140)).await;
// Check second action
assert!(
bed.manager.state.lock().await.triggers.is_empty(),