mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 12:45:47 +01:00
Fix time-based test sometimes failing by increasing sleep
This commit is contained in:
parent
d126a95786
commit
362c875f1b
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue