rallytime
094731f4b6
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-20 12:32:08 -06:00
Justin Anderson
9abb6f91bb
Skip mysql state test if mysqladmin is not available
2016-07-20 09:24:24 -06:00
Mike Place
62ef8fdb35
Merge pull request #34670 from isbm/isbm-osmajorrelease-grain-suse
...
Add "osmajorrelease" grain (2016.3)
2016-07-20 08:39:38 -06:00
Bo Maryniuk
110a422d5a
Keep osmajorrelease as a string type for 2016.3 release
2016-07-19 17:52:08 +02:00
rallytime
3e032dc397
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-19 09:30:45 -06:00
Mike Place
10a1af9949
Remove unnedeed config test ( #34751 )
...
Refs #34607
2016-07-18 13:00:47 -06:00
Mike Place
46901c6e65
Disable test
...
There's a race condition in here somewhere. Disabling and tracking issue elsewhere.
2016-07-18 12:39:49 -06:00
Justin Anderson
b94e0dd95a
ipset.long_range doesn't need a docstring
2016-07-18 10:32:32 -06:00
Mike Place
4625ee65b8
Remove unnedeed config test
...
Refs #34607
2016-07-18 09:12:18 -06:00
rallytime
cca9446c37
Various spelling fixes
...
Fixes #34630
2016-07-16 13:17:09 -06:00
Bo Maryniuk
96021e257c
Update test data for 'registerrelease' and 'productline' fields
2016-07-15 17:13:58 +02:00
Bo Maryniuk
5ed5142fbc
Update test data for 'registerrelease' and 'productline' fields
2016-07-15 17:12:03 +02:00
rallytime
0c566dce89
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-14 14:06:42 -06:00
Mike Place
64a154826a
Revert "Modify lodaer global test to use populated dunders"
...
This reverts commit f45dbe8508df70ce3f563915318791614449b341.
2016-07-14 12:11:44 -06:00
Bo Maryniuk
208fd33b48
Add unit test for osmajorrelease grain
2016-07-14 18:05:12 +02:00
Nicole Thomas
bc63f25a6f
Lint 34644 ( #34651 )
...
* Better error handling for __virtual__ in dockerng module
* Modify lodaer global test to use populated dunders
This prevents a number of errors in the error log and makes for a
more robust test IMHO
* Lint #34644
2016-07-13 18:58:54 -04:00
Mike Place
50360263c5
Adjust the mine test a little bit to give it a better chance of success ( #34647 )
2016-07-13 16:51:28 -04:00
Justin Anderson
dd1559a599
Check that mysqladmin exists before running mysql integration tests.
2016-07-13 11:08:26 -06:00
Mike Place
3e612c3794
Merge pull request #34618 from jtand/network_integration_fix
...
Network state integration test test=True
2016-07-13 10:30:15 -06:00
Megan Wilhite
f6dfbac5ca
add num_cpus grain to freebsd ( #34565 )
...
* add num_cpus grain to freebsd
* fix pylint
2016-07-13 11:40:09 -04:00
Justin Anderson
445f8afc69
Fixes failing test on Suse Leap ( #34621 )
2016-07-12 18:48:06 -04:00
rallytime
f734afd0b0
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/modules/aptpkg.py
- tests/integration/__init__.py
2016-07-12 14:29:35 -06:00
rallytime
3026df346f
Merge branch '2015.5' into '2015.8'
...
No conflicts.
2016-07-12 13:27:16 -06:00
Nicole Thomas
b90ae407f9
Add support for edge case when Cmd and Entrypoint can't be blanked ( #34593 )
2016-07-12 15:18:53 -04:00
Justin Anderson
57df38e685
Update github IP for ssh state integration tests ( #34592 )
2016-07-12 15:17:41 -04:00
Nicole Thomas
efc2ab9d68
[2016.3] Avoid salt.utils circular imports when using "from" ( #34585 )
...
Also removes an unused import
2016-07-12 15:13:26 -04:00
Justin Anderson
34bcf9ccfc
Changed network state test to use test=True
2016-07-12 12:40:40 -06:00
Nicole Thomas
2e1007254b
Avoid circular imports when calling salt.utils functions ( #34584 )
2016-07-12 13:41:30 -04:00
Justin Anderson
7dd8035c62
Gate docker unit test to check for docker ( #34591 )
...
* Gate docker unit test to check for docker
* Change skipIf to check if docker-py is installed, not version check
2016-07-12 13:33:31 -04:00
Justin Anderson
b2616833b0
Some small changes
2016-07-11 14:35:25 -06:00
rallytime
815c8b38d5
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-08 10:34:32 -06:00
rallytime
f8a3622be7
Rename unit.states.boto_secgroup to unit.states.boto_secgroup_test
2016-07-07 21:29:36 -06:00
rallytime
ceefb6e34c
Rename tests.unit.simple to tests.unit.simple_test
...
These tests are not getting run automatically in a ./runtests.py -u
or on Jenkins runs. This name changes allows them to run automatically.
2016-07-07 17:12:27 -06:00
Mike Place
6b8c76af83
Prevent many errors in the test suite in loader tests ( #34521 )
...
Pack in what the loader needs.
2016-07-07 17:03:45 -04:00
Mike Place
685df80929
Merge pull request #34518 from terminalmage/fix-pkg.latest-test
...
Fix pkg.latest integration test for non-LTS ubuntu
2016-07-07 13:29:13 -06:00
rallytime
27988dde48
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- doc/ref/configuration/minion.rst
2016-07-07 12:31:12 -06:00
Justin Anderson
ed59113e94
Change network state integration test to use test=True
2016-07-07 12:27:18 -06:00
Erik Johnson
4aef44ecdf
Fix pkg.latest integration test for non-LTS ubuntu
...
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.
2016-07-07 12:51:01 -05:00
Nicole Thomas
3ebba020b6
Rename some unit test files by adding _test ( #34503 )
...
These two test files are currently not running automatically on Jenkins.
Renaming these files will add them to the full runtests.py run.
2016-07-07 12:05:08 -04:00
Justin Anderson
75299456be
Use skipTest for network state integration test ( #34489 )
...
* Updated skipTest to check for debian or redhat
* Removed skipIf import
2016-07-06 13:43:09 -04:00
rallytime
2b307b7ea1
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/states/file.py
- tests/unit/states/file_test.py
2016-07-06 09:12:25 -06:00
twangboy
78f7c530bb
Remove unit tests, integration tests written
2016-07-05 15:12:34 -06:00
Justin Anderson
0460edb9e2
Arch linux does not have osrelease or osmajorrelease grains ( #34453 )
2016-07-05 15:34:41 -04:00
rallytime
91120dba01
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-05 09:58:52 -06:00
rallytime
55a91e22be
Merge branch '2015.5' into '2015.8'
...
No conflicts.
2016-07-05 09:13:50 -06:00
Mike Place
8c72ee56e4
Merge pull request #34435 from cachedout/backport_config_dir_integration
...
Backport change to integraiton test suite
2016-07-05 08:24:53 -06:00
Mike Place
0e2c71a537
Backport change to integraiton test suite
...
Will avoid lint errors in earlier branches. Thanks to @terminalmage for pointing out my error.
2016-07-01 16:10:34 -06:00
rallytime
8398de0baf
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-06-30 16:08:57 -06:00
Mike Place
45b8fb10d7
Merge pull request #34373 from jtand/network_state_integration_test
...
Network state integration test
2016-06-30 08:05:44 -07:00
Erik Johnson
d6af1de0b7
Optimize pkg integration tests and add a couple new tests ( #34377 )
...
* Remove redundant usage of destructiveTest decorator
* Remove unnecessary SLS file
This simple state can be run using run_state
* Explicitly order tests
* Use run_state instead of invoking state.sls
* Ensure only one refresh_db done during pkg integration tests
* Add pkg.latest test for package without an epoch
* Optimize pkg.latest_version usage in pkg integration tests
* Clarify outcome when only_upgrade is used
* Add pkg.latest test with only_upgrade=True
2016-06-30 10:48:22 -04:00