Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More info in message when Redis e2e fails #1649

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading