Compare commits
2 commits
134ed92f3d
...
e090f54f1b
Author | SHA1 | Date | |
---|---|---|---|
e090f54f1b | |||
1cc1a616b9 |
1 changed files with 5 additions and 2 deletions
|
@ -51,12 +51,15 @@ async fn when_pending_should_recheck_ci_status() -> TestResult {
|
|||
git::forge::commit::Status::Pending,
|
||||
)))
|
||||
.await?;
|
||||
actix_rt::time::sleep(Duration::from_millis(9)).await;
|
||||
System::current().stop();
|
||||
|
||||
//then
|
||||
tracing::debug!(?log, "");
|
||||
log.require_message_containing("send: ValidateRepo")?;
|
||||
log.read().map_err(|e| e.to_string()).map(|l| {
|
||||
assert!(l
|
||||
.iter()
|
||||
.any(|message| message.contains("send: ValidateRepo")));
|
||||
})?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue