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

Add option to clean ansible-test environment between integration tests #60219

Open
geerlingguy opened this issue Aug 7, 2019 · 1 comment

Comments

@geerlingguy
Copy link
Contributor

commented Aug 7, 2019

SUMMARY

When I run ansible-test integration --docker, it runs all the roles inside test/integration/targets one-by-one, inside one container.

In order to isolate my integration tests, and ensure one doesn't affect the other, I would like the option to have the test container be killed and a new one run for each integration test.

Maybe a new option like --clean, --clean-between-roles, --container-per-target or something like that?

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

ansible-test

ADDITIONAL INFORMATION

N/A

@geerlingguy

This comment has been minimized.

Copy link
Contributor Author

commented Aug 7, 2019

If the long-term plan is to have Molecule be a more dev-friendly frontend for ansible-test, perhaps Molecule could solve this issue by effectively splitting ansible-test runs between each selected role, or among different OSes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.