From 64da1d8a34f5147f0fa566944a56d693607275c4 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 31 Aug 2024 09:53:20 +0100 Subject: [PATCH] fix(test): give actix more time to process message --- crates/cli/src/repo/tests/handlers/advance_next.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cli/src/repo/tests/handlers/advance_next.rs b/crates/cli/src/repo/tests/handlers/advance_next.rs index 44ae8f61..4a681c7e 100644 --- a/crates/cli/src/repo/tests/handlers/advance_next.rs +++ b/crates/cli/src/repo/tests/handlers/advance_next.rs @@ -43,7 +43,7 @@ async fn should_fetch_then_push_then_revalidate() -> TestResult { }, )) .await?; - actix_rt::time::sleep(Duration::from_millis(1)).await; + actix_rt::time::sleep(Duration::from_millis(9)).await; System::current().stop(); //then