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