Fix docker_container tests (#441)

* Add diff output to figure out a bit more why the test fails.

* Make sure that both images have been pulled in advance.

* Dump the correct image.

* Allow tty test to fail in certain circumstances.
This commit is contained in:
Felix Fontein
2022-08-08 23:23:23 +02:00
committed by GitHub
parent 1e4633a606
commit 74134eda33
2 changed files with 22 additions and 4 deletions
@@ -429,7 +429,7 @@ class ContainerManager(DockerBaseClass):
comparison_image = self._get_container_image(container, image)
if comparison_image != image:
self.log("current image")
self.log(image, pretty_print=True)
self.log(comparison_image, pretty_print=True)
return image, comparison_image