-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
docker_container: improve tests to avoid spurious test fails #48059
docker_container: improve tests to avoid spurious test fails #48059
Conversation
Hi @felixfontein, thank you for submitting this pull-request! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shipit
@kassiansun thanks! Can you also take a look at #48056 and #48061? They fix some details about docker_container which are also pretty annoying during tests :) |
@kassiansun thanks for reviewing! |
Backport included in #47831. |
SUMMARY
Sometimes, the docker_container tests are unstable because the
detach: no
test behaves strangely (Output
does not contain the output expected fromhello-world
). While we have no idea why this happens and cannot reproduce it properly, it happens often enough to justify changing the test so that it simply checks forOutput
to be present, instead ofOutput
containing a specific text.Fixes #47896.
ISSUE TYPE
COMPONENT NAME
docker_container
ANSIBLE VERSION