fix(test): give actix more time to process message
All checks were successful
Rust / build (push) Successful in 7m13s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 1m18s

This commit is contained in:
Paul Campbell 2024-08-31 08:56:22 +01:00
parent 7504ab5a2d
commit a3dd82705f

View file

@ -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