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

Issue #371 - Add h2spec container test (inspired by qdr-image tests from @fgiorgetti) #381

Merged
Prev Previous commit
Next Next commit
fixup logging on pull error
jiridanek committed May 12, 2022
commit 924391eea1a12a04e56df6b95d7bed7b696bd501
4 changes: 2 additions & 2 deletions tests/testcontainers/test_h2spec.rs
Original file line number Diff line number Diff line change
@@ -186,8 +186,8 @@ async fn find_or_pull_image(docker: &&Docker, image: &str) -> String {
if let Some(image_id) = docker_find_image(docker, image).await {
return image_id;
}
docker_pull(&docker, image).await;
return docker_find_image(docker, image).await.unwrap();
let pull = docker_pull(&docker, image).await;
return docker_find_image(docker, image).await.expect(&*format!("{:?}", pull));
}

async fn docker_find_image(docker: &&Docker, image: &str) -> Option<String> {