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::*;
|
use super::*;
|
||||||
|
|
||||||
|
@ -81,7 +79,7 @@ async fn when_fail_should_recheck_after_delay() -> TestResult {
|
||||||
git::forge::commit::Status::Fail,
|
git::forge::commit::Status::Fail,
|
||||||
)))
|
)))
|
||||||
.await?;
|
.await?;
|
||||||
actix_rt::time::sleep(Duration::from_millis(10)).await;
|
actix_rt::time::sleep(std::time::Duration::from_millis(2)).await;
|
||||||
System::current().stop();
|
System::current().stop();
|
||||||
|
|
||||||
//then
|
//then
|
||||||
|
|
Loading…
Reference in a new issue