Compare commits
2 commits
a2cd391827
...
685a930979
Author | SHA1 | Date | |
---|---|---|---|
685a930979 | |||
2fdfa42cfd |
1 changed files with 2 additions and 2 deletions
|
@ -81,11 +81,11 @@ 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(100)).await;
|
||||
System::current().stop();
|
||||
|
||||
//then
|
||||
log.require_message_containing("send: ValidateRepo")?;
|
||||
log.require_message_containing("send-after-delay: ValidateRepo")?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue