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

[2016.3] Merge forward from 2015.8 to 2016.3 #34553

Merged
merged 10 commits into from
Jul 11, 2016

Conversation

rallytime
Copy link
Contributor

@rallytime rallytime commented Jul 8, 2016

No conflicts.

terminalmage and others added 10 commits July 7, 2016 12:51
This test uses ``pkg.list_upgrades`` to find a package which it assumes is
installed, to test ``pkg.installed`` with ``only_upgrade=True``. The
problem with that approach is that ``pkg.list_upgrades`` uses a dry-run
of an ``apt-get dist-upgrade`` to find the upgrades. On non-LTS Ubuntu
releases, a ``dist-upgrade`` results in upgrading to an entirely new
Ubuntu release, and new packages which would be installed by the
dist-upgrade (but are not currently installed) will be included in the
return data. This causes the test to fail when we attempt to run
``pkg.latest`` with ``only_upgrade=True`` on a package which is not
already installed.

This commit fixes the test by ensuring that our target package is
already installed, and continuing to iterate through the return data
from ``pkg.list_upgrades`` until a currently-installed package is found.
Fix pkg.latest integration test for non-LTS ubuntu
The name of retention policy and database were reversed, so SaltStack was using rp name as database, so it returns "database does not exist"
These tests are not getting run automatically in a ./runtests.py -u
or on Jenkins runs. This name changes allows them to run automatically.
Rename tests.unit.simple to tests.unit.simple_test
…p-test

Rename unit.states.boto_secgroup to unit.states.boto_secgroup_test
@rallytime
Copy link
Contributor Author

Go Go Jenkins!

1 similar comment
@rallytime
Copy link
Contributor Author

Go Go Jenkins!

@rallytime rallytime merged commit d8c8b4a into saltstack:2016.3 Jul 11, 2016
@rallytime rallytime deleted the merge-2016.3 branch July 11, 2016 19:36
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

3 participants