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,
|
||||
)))
|
||||
.await?;
|
||||
actix_rt::time::sleep(Duration::from_millis(9)).await;
|
||||
System::current().stop();
|
||||
|
||||
//then
|
||||
tracing::debug!(?log, "");
|
||||
log.read().map_err(|e| e.to_string()).map(|l| {
|
||||
assert!(l
|
||||
.iter()
|
||||
.any(|message| message.contains("send: ValidateRepo")));
|
||||
})?;
|
||||
log.require_message_containing("send: ValidateRepo")?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue