From 362c875f1b0cc77694a24628b52cbea58ded8956 Mon Sep 17 00:00:00 2001 From: ppom Date: Mon, 9 Feb 2026 12:00:00 +0100 Subject: [PATCH] Fix time-based test sometimes failing by increasing sleep --- src/daemon/filter/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/filter/tests.rs b/src/daemon/filter/tests.rs index 1b4f912..5196e42 100644 --- a/src/daemon/filter/tests.rs +++ b/src/daemon/filter/tests.rs @@ -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(),