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

Cleaner test runs (for /tmp) #10596

Merged
merged 7 commits into from
Sep 4, 2019
Merged

Cleaner test runs (for /tmp) #10596

merged 7 commits into from
Sep 4, 2019

Conversation

howbazaar
Copy link
Contributor

When we run 'make test', the machine ends up with a bunch of files and directories left in /tmp.
If these aren't regularly pruned, then tests will start failing - like the centos test machine.

This change introduces an explicit temp dir for the duration of the tests, and it deletes it at the end of a successful run.

QA steps

  • run 'make test' and observe /tmp

…a specific tmpdir for the test run then deletes it at the end.
Copy link
Contributor

@babbageclunk babbageclunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@howbazaar
Copy link
Contributor Author

$$merge$$

@howbazaar
Copy link
Contributor Author

$$merge$$

@jujubot jujubot merged commit b7a7559 into juju:develop Sep 4, 2019
@howbazaar howbazaar deleted the fix-tmp-spam branch September 5, 2019 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants