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

Optimize pkg integration tests and add a couple new tests #34377

Merged
merged 9 commits into from
Jun 30, 2016

Conversation

terminalmage
Copy link
Contributor

This pull request adds a couple new tests, and also keeps the pkg database from
being refreshed in every test, restricting refreshes to once per run of the
tests in the PkgTest class.

It also keeps us from unnecessarily running pkg.latest_version on a given
package when we've already done so during a test run, by storing the results in
a global-scope dictionary.

@terminalmage
Copy link
Contributor Author

Had to rebase this to get the lint fixes I made to the 2015.8 branch yesterday.

@rallytime rallytime merged commit d6af1de into saltstack:2015.8 Jun 30, 2016
@terminalmage terminalmage deleted the tests branch July 7, 2016 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants