From a3dd82705f1f4fdb88feda38f8879a828b859eaa Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 31 Aug 2024 08:56:22 +0100 Subject: [PATCH] fix(test): give actix more time to process message --- crates/cli/src/repo/tests/handlers/receive_ci_status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cli/src/repo/tests/handlers/receive_ci_status.rs b/crates/cli/src/repo/tests/handlers/receive_ci_status.rs index 2f28015..8a45e48 100644 --- a/crates/cli/src/repo/tests/handlers/receive_ci_status.rs +++ b/crates/cli/src/repo/tests/handlers/receive_ci_status.rs @@ -81,7 +81,7 @@ async fn when_fail_should_recheck_after_delay() -> TestResult { git::forge::commit::Status::Fail, ))) .await?; - actix_rt::time::sleep(Duration::from_millis(1)).await; + actix_rt::time::sleep(Duration::from_millis(9)).await; System::current().stop(); //then