Skip to content

Commit

Permalink
Merge pull request fermyon#1649 from itowlson/redis-rust-works-but-it…
Browse files Browse the repository at this point in the history
…-would-be-nice-to-know-why-when-it-didnt

More info in message when Redis e2e fails
  • Loading branch information
itowlson authored Jul 12, 2023
2 parents 67f3ee2 + 06b6748 commit 1f4d989
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/testcases/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,8 @@ pub async fn redis_go_works(controller: &dyn Controller) {

assert!(expected_logs
.iter()
.all(|item| stderr.contains(&item.to_string())));
.all(|item| stderr.contains(&item.to_string())),
"Expected log lines to contain all of {expected_logs:?} but actual lines were '{stderr:?}'");

Ok(())
}
Expand Down Expand Up @@ -955,7 +956,8 @@ pub async fn redis_rust_works(controller: &dyn Controller) {

assert!(expected_logs
.iter()
.all(|item| stderr.contains(&item.to_string())));
.all(|item| stderr.contains(&item.to_string())),
"Expected log lines to contain all of {expected_logs:?} but actual lines were '{stderr:?}'");

Ok(())
}
Expand Down

0 comments on commit 1f4d989

Please sign in to comment.