Compare commits
2 commits
d6f116760e
...
79b13dc80f
Author | SHA1 | Date | |
---|---|---|---|
79b13dc80f | |||
21f93da3e7 |
1 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
|||
use std::time::Duration;
|
||||
|
||||
//
|
||||
use super::*;
|
||||
|
||||
|
@ -81,7 +79,7 @@ async fn when_fail_should_recheck_after_delay() -> TestResult {
|
|||
git::forge::commit::Status::Fail,
|
||||
)))
|
||||
.await?;
|
||||
actix_rt::time::sleep(Duration::from_millis(10)).await;
|
||||
actix_rt::time::sleep(std::time::Duration::from_millis(2)).await;
|
||||
System::current().stop();
|
||||
|
||||
//then
|
||||
|
|
Loading…
Reference in a new issue