rallytime
95dbe1ade4
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/fileserver/__init__.py
- setup.py
- tests/integration/modules/git.py
2016-09-14 09:15:29 -06:00
rallytime
57d8bd36ee
Pylint fix
2016-09-13 13:27:46 -06:00
rallytime
387ed8bb9f
Add unit tests for salt.cache.localfs.py
2016-09-13 10:52:15 -06:00
rallytime
f603757b55
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- tests/unit/modules/mount_test.py
- tests/unit/states/file_test.py
2016-09-13 08:21:48 -06:00
Pablo Suárez Hernández
fdf40907b7
Some unit tests fixes ( #36227 )
...
* Prevent tests failures if boto does not exists
* Prevent tests failure if /etc/fstab does not exists
2016-09-12 11:43:12 -06:00
Mike Place
5ddf0af23e
Merge pull request #36166 from jfindlay/parallels
...
modules.parallels.delete: allow multiple IDs for same name
2016-09-12 08:00:56 +09:00
Mike Place
31b2ef2585
Merge pull request #36124 from twangboy/linux_acl_test_mac
...
Skip test on all OS's but linux
2016-09-09 18:59:35 +09:00
rallytime
c30f697dfd
Pylint fix
2016-09-08 17:23:15 -06:00
rallytime
6da0fbbe96
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/modules/cmdmod.py
- salt/modules/linux_sysctl.py
- tests/unit/cloud/clouds/dimensiondata_test.py
- tests/unit/cloud/clouds/gce_test.py
- tests/unit/modules/boto_iot_test.py
- tests/unit/modules/mount_test.py
- tests/unit/states/boto_iot_test.py
- tests/unit/utils/network.py
2016-09-08 16:14:04 -06:00
twangboy
e6b34c414d
Add missing import (lint)
2016-09-08 15:37:21 -06:00
Justin Findlay
ad9ce5b4bc
modules.parallels: remove redundant state function
...
function is redundant with status, which prlctl provides natively
2016-09-08 14:22:59 -06:00
Justin Findlay
3a97818458
modules.parallels.delete: allow multiple IDs for same name
...
When parallels creates linked clones, it generates a new snapshot on the
cloned VM with the name 'Snapshot for linked clone', which when used
with jenkins results in hundreds of unneeded snapshots per week.
2016-09-08 14:22:26 -06:00
twangboy
bd65259605
Skip test on anything but linux
2016-09-08 13:46:41 -06:00
rallytime
7f955bda0a
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- tests/unit/modules/boto_vpc_test.py
- tests/unit/modules/mount_test.py
- tests/unit/modules/puppet_test.py
2016-09-08 10:55:57 -06:00
Mike Place
1f909038f0
Merge pull request #36139 from meaksh/tests-fixes-for-2016.3
...
Fixing unit tests for 2016.3
2016-09-08 22:20:21 +09:00
Pablo Suárez Hernández
52a7ed605e
Fixed _interfaces_ifconfig output for SunOS test
2016-09-08 12:39:28 +01:00
Eric Radman
158bcbff65
Fix tests that assert CommandExecutionError ( #32485 )
...
Trying to assert that an exception was raised using
helper_open.write.assertRaises() is bogus--there is no such method. Use
standard unittest.assertRaises() instead.
2016-09-08 12:39:28 +01:00
Mihai Dincă
8b480167e1
Fix tests ( #35693 )
...
* Fix tests/unit/modules/useradd_test.py::UserAddTestCase::test_info
* Fix unit/pyobjects_test.py::MapTests::test_map
* Fix tests/unit/pyobjects_test.py::RendererTests::test_extend
* Fix tests/unit/pyobjects_test.py::RendererTests::test_requisite_implicit_list
2016-09-08 12:39:28 +01:00
Eric Radman
29814f9d43
Skip utils_test if timelib is not installed ( #32699 )
...
date_cast() throws a RuntimeError, not an ImportError
2016-09-08 12:39:28 +01:00
Pablo Suárez Hernández
d1d806f893
Fix PortageConfigTestCase in case of portage is not present
2016-09-08 12:39:28 +01:00
Pablo Suárez Hernández
1c260e4bd0
Fix tests to prevent errors when libcloud is not present
2016-09-08 12:39:28 +01:00
Mike Place
f74ca15f50
Remove test for file dir behavior
...
Refs #34809
2016-09-08 11:36:17 +01:00
Eric Radman
c65aefee20
Fix tests that assert CommandExecutionError ( #32485 )
...
Trying to assert that an exception was raised using
helper_open.write.assertRaises() is bogus--there is no such method. Use
standard unittest.assertRaises() instead.
2016-09-08 11:36:17 +01:00
twangboy
f8c0b439b8
Fixed more lint
2016-09-08 11:36:17 +01:00
twangboy
63ff731009
Fixed tests
2016-09-08 11:36:17 +01:00
Dmitry Kuzmenko
04b1a4a9ca
Fixed use of assert_has_calls in tests.
...
The method logic was changed in mock-1.1.0.
This mades the use of the method compatible with both <1.1.0 and >=1.1.0
2016-09-08 11:36:17 +01:00
Dmitry Kuzmenko
46e4bb58e5
Fixed LoadAuthTestCase
2016-09-08 11:36:17 +01:00
rallytime
4e9733ad6d
Rename dockerio.py unit tests to dockerio_test.py
...
These tests have never run automatically because of an incorrect file name.
Added a skipIf on these tests as they are currently non-functioning and the
module they're testing has been deprecated.
2016-09-08 11:36:17 +01:00
Pedro Algarvio
ec0cc943e0
Make sure spm tests are picked up by runtests.
...
Lists in py2 don't have the clear method
2016-09-08 11:36:17 +01:00
kstreee
2605f34849
Fix missing first data in stream when subscribing stream using a function 'read_async'.
2016-09-08 11:36:17 +01:00
Pablo Suárez Hernández
305bab8be0
Fixed _interfaces_ifconfig output for SunOS test
2016-09-08 11:36:17 +01:00
Eric Radman
b5ca02c867
Fix tests that assert CommandExecutionError ( #32485 )
...
Trying to assert that an exception was raised using
helper_open.write.assertRaises() is bogus--there is no such method. Use
standard unittest.assertRaises() instead.
2016-09-08 11:36:17 +01:00
Mihai Dincă
1fb6340fef
Fix tests ( #35693 )
...
* Fix tests/unit/modules/useradd_test.py::UserAddTestCase::test_info
* Fix unit/pyobjects_test.py::MapTests::test_map
* Fix tests/unit/pyobjects_test.py::RendererTests::test_extend
* Fix tests/unit/pyobjects_test.py::RendererTests::test_requisite_implicit_list
2016-09-08 11:36:17 +01:00
Eric Radman
5977f1f54c
Skip utils_test if timelib is not installed ( #32699 )
...
date_cast() throws a RuntimeError, not an ImportError
2016-09-08 11:36:17 +01:00
Pablo Suárez Hernández
d1b9a4061e
Fixing skipped boto tests to prevent errors if boto3 does not exists.
2016-09-08 11:36:17 +01:00
Nicole Thomas
7cdbc546f1
Back-port #36062 to 2015.8 ( #36118 )
...
* Comment all lines in the minion config file
* Add unit tests to check for all files in conf/ to be commented out
* Make sure cont/cloud.profiles file is commented out
Matches the cloud.providers file format and other sample config files.
* Add unit tests for sample files in cloud.profiles.d, cloud.providers.d,
and cloud.maps.d
* Make sure all sample config files in cloud.maps.d are commented out
* Make sure all sample config files in cloud.profiles.d are commented out
2016-09-07 16:01:34 -06:00
rallytime
07172cf371
Add some unit tests for the jid_queue functionality in minion.py
...
Refs #35172 and #28785
2016-09-07 14:15:35 -06:00
twangboy
da2dded3c3
Use /etc instead of /root
2016-09-07 12:34:33 -06:00
rallytime
de4f77cb68
Fixup failing test: need to mock __utils__ instead of salt.utils.cloud call
2016-09-07 08:46:47 -06:00
Mike Place
6460412b1c
Merge pull request #36042 from jfindlay/parallels
...
add functions to parallels execution module
2016-09-07 15:09:10 +09:00
Mike Place
4e609a2962
Merge pull request #36062 from rallytime/fix-36045
...
Add test to catch sample config files that are not commented out
2016-09-07 10:30:30 +09:00
rallytime
da25415e2c
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/minion.py
- salt/modules/gentoo_service.py
- salt/utils/event.py
- salt/wheel/key.py
2016-09-06 11:11:34 -06:00
Pablo Suárez Hernández
71ebf2c8cd
Fixing skipped boto tests to prevent errors if boto3 does not exists.
2016-09-06 12:41:56 +01:00
rallytime
dd53a26af5
Add unit tests for sample files in cloud.profiles.d, cloud.providers.d,
...
and cloud.maps.d
2016-09-05 19:11:19 -06:00
rallytime
b04cc62927
Add unit tests to check for all files in conf/ to be commented out
2016-09-05 18:08:02 -06:00
Erik Johnson
3345da0d36
Add tests for gitfs per-saltenv configuration ( #29954 )
2016-09-03 14:59:04 -05:00
Erik Johnson
c35ed45668
Rename test file so that it runs properly when unit tests are executed
2016-09-03 14:59:04 -05:00
Justin Findlay
430ec201d9
modules.parallels: add exists and state fcns
2016-09-02 15:48:03 -06:00
Justin Findlay
0f7d704eb6
modules.parallels: add clone and delete functions
2016-09-02 15:48:03 -06:00
Justin Findlay
9eb0f637e9
modules.parallels.list_vms: add template arg, update name arg
2016-09-02 15:40:56 -06:00
Justin Findlay
d913f2cbe7
modules.parallels: add prlsrvctl function
2016-09-02 15:40:56 -06:00
Daniel Wallace
65b6734c04
catch unicode encoding errors in json outputter ( #36033 )
...
Add testing too
2016-09-02 14:56:09 -06:00
rallytime
1bf840b036
Merge branch '2016.3' into 'develop'
...
No conflicts.
2016-09-02 09:43:40 -06:00
rallytime
a63c9dfc6a
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/states/service.py
2016-09-02 08:19:16 -06:00
Mike Place
6cf56843d4
Revert "service state integration tests"
2016-09-02 21:38:15 +09:00
rallytime
f8c9b8443f
Pass in connection parameters to boto_vpc function calls
...
Otherwise we are not properly mocking this function call and the
tests fail when the `_conn3` function is called. (Any distro using
salt.utils.boto3 will fail here.)
We also need to protect the test class if the correct versions of
boto and moto are not installed on the test system.
2016-09-01 22:35:14 -06:00
Justin Anderson
40131b9c27
Groupadd test fix ( #36002 )
...
* Change osmajorrelease back to str in test_useradd
* Change osmajorrelease back to str in test_userdel
* Change osmajorrelease back to str in test_members
2016-09-01 15:40:15 -06:00
Aditya Kulkarni
50981f4f11
Add unit tests for VPC module ( #35996 )
2016-09-01 15:12:22 -06:00
Mike Place
beec674141
Skip one Snapper test on 2.6
...
There's a slight difference in the diff comparison but we should be
able to catch true failures here with 2.7.
2016-09-01 20:19:06 +09:00
Aditya Kulkarni
347b05abd0
Add test for cassandra_cql returner's ssl opts parsing ( #35944 )
2016-08-31 15:26:11 -06:00
Daniel Wallace
9bdb161eac
Add Keystone v3 support ( #35911 )
...
* Openstack keystone V3 API support in keystone modules.
* Python3 compatibility unicode to six.text_type
* Return values of tests: test_user_absent, test_endpoint_absent,
test_role_absent, test_service_absent, test_tenant_absent
* Fixed tests states.test_role_present and states.service_present
* Fixed module tests (not all)
* These are the old tests and need to be rewritten anyway
* fix pylint error
* fix keystone state tests
2016-08-31 11:55:23 -06:00
Mike Place
c30abb489a
Merge pull request #35927 from saltstack/revert-33010-state_grains_present_assert_only
...
Revert "For #31309 . If value not supplied only check for existence"
2016-08-31 18:35:32 +09:00
Mike Place
6559cf347b
Revert "For #31309 . If value not supplied only check for existence"
2016-08-31 18:06:49 +09:00
Nicolas Delaby
8c7233ad4d
Revert "Fixup Docker test"
...
This reverts commit 3bd8a7027b
.
2016-08-31 09:48:57 +02:00
Mike Place
f7d8f408c2
Merge pull request #35822 from terminalmage/issue35045
...
Fixes for top file merging
2016-08-31 01:40:41 +09:00
Erik Johnson
9ee1b967f1
Rewrite top file merging tests
2016-08-30 08:58:18 -05:00
Erik Johnson
48a99bc939
Add missing import after moving highstate tests
2016-08-30 08:58:18 -05:00
Erik Johnson
fde7d68b89
HighState -> salt.state.HighState
2016-08-30 08:58:17 -05:00
Erik Johnson
f1613d733d
Move highstateconf_test tests into state_test.py
...
This keeps the tests organized and following the same naming convention
established elsewhere.
2016-08-30 08:58:17 -05:00
Mike Place
f3334126b4
Lint IIS test
2016-08-30 22:50:36 +09:00
Mike Place
3bd8a7027b
Fixup Docker test
...
This test just looks to see if changes were made.
2016-08-30 20:49:02 +09:00
Mike Place
65a56a6f51
Merge pull request #33010 from Tanoti/state_grains_present_assert_only
...
For #31309 . If value not supplied only check for existence
2016-08-30 17:57:57 +09:00
Mike Place
83cd956b7b
Merge pull request #35845 from m03/dry-and-more-iis-unit-tests
...
Additional win_iis unit tests and DRY
2016-08-30 16:20:51 +09:00
Justin Anderson
e744b795d1
Make ddns_test happy with py3 and py26 ( #35857 )
...
* Make python3 and python26 happy
* Don't need both ways of nesting with statements
* No longer need pylint disable
* Lint fix
* take out the correct import
2016-08-29 16:33:54 -06:00
Justin Anderson
3f7e4d9f59
traversal_spec has skip=True, not false ( #35877 )
2016-08-29 16:12:16 -06:00
Erik Johnson
16453e35f0
Fix legacy git_pillar tests ( #35713 )
...
* Add debug logging to legacy git_pillar tests
This is to aid in troubleshooting some failures on the branch builds
* Reverse monkey-patching after test completes
* Fix misspelling in git_pillar unit tests
* Ensure 2nd repo is updated
* Add logging for legacy git_pillar checkout func
* Explicitly set hash_type in opts for git_pillar tests
* Do not use dict.get() to get hash_type
This code is a relic from before we set a default value for this in
salt.config. There is no expectation that this value will be unset, so
there is no need to use dict.get() here.
2016-08-29 14:58:31 -06:00
Nicole Thomas
27697e952a
Pylint fixes for develop branch ( #35863 )
2016-08-29 12:20:50 -06:00
Mike Place
9aea24aa47
Fixed a bug in windows hostname settings when the hostname is longer than 15 chars ( #35848 )
...
- The previous implementation was limited to the 15 char limit for "Computernames" which would cause the state to always fail if the hostname was longer
2016-08-29 10:09:53 -06:00
mwinnett
f48ebd082f
DRY, additional win_iis unit tests
2016-08-28 23:42:53 -07:00
Mike Place
409f17aa58
Merge pull request #35673 from cro/proxy_getsi_fix
...
Proxies don't handle reusing the SmartConnect instances very well. D…
2016-08-29 13:11:35 +09:00
Mike Place
5bb62345f6
Merge pull request #35728 from alexbleotu/vmware_enhancements-gh
...
Vmware enhancements gh
2016-08-29 12:54:14 +09:00
Mike Place
51b304f4a8
Merge pull request #35757 from vutny/grains-filterby-wildcard
...
grains.filter_by: lookup_dict key could be a globing pattern
2016-08-29 12:23:05 +09:00
Mike Place
202d9adf2e
Merge pull request #35778 from kraney/boto_cloudwatch_event
...
Boto cloudwatch event
2016-08-29 11:20:47 +09:00
Mike Place
f6b31be592
Lint
2016-08-29 10:18:52 +09:00
Tarjei Husøy
8d2d20903d
Ensure ssh keys are decodable before inserting
...
Closes #35631 .
2016-08-28 11:45:41 -07:00
rallytime
2b1ad9e9b9
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/utils/gitfs.py
2016-08-26 14:54:54 -06:00
rallytime
e8e73b55ac
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- doc/topics/jobs/schedule.rst
- salt/states/user.py
2016-08-26 13:21:12 -06:00
David Boucha
822b0a0f33
Don't test for linux shells on Windows ( #35743 )
...
* Don't test for linux shells on Windows
* Don't force windows to be false
Salt didn't used to support runas on Windows.
Salt now supports runas on Windows. This line was causing the wrong code
paths to be followed.
* Skip test on windows because no VT on windows
* add missing closing paren
2016-08-26 12:52:39 -06:00
Hengyang Hu
b89f45598e
fix 34241, webutil.useradd_all is deprecated ( #35788 )
...
* fix 34241, webutil.useradd_all is deprecated
* in src webutil.useradd_all get replaced by webutil.useradd, change the mocks accordingly
2016-08-26 12:52:11 -06:00
Erik Johnson
eb4d2f299b
Better unicode handling in gitfs ( #35802 )
...
* Revert "Don't use six.text_type() in salt.utils.gitfs"
This reverts commit d76659a63a
.
* salt.utils.path_join: handle mixed unicode/binary-unicode paths
* Add test for mixed unicode and binary-unicode paths
* salt.utils.gitfs: replace os.path.join with salt.utils.path_join
2016-08-26 10:44:22 -06:00
Kris Raney
9b3e48bd6e
Fix pylint warnings in test code
2016-08-25 15:51:02 -05:00
Kris Raney
170e8238c8
Add cloud watch events unit tests
2016-08-25 13:30:56 -05:00
rallytime
381debe53b
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/fileclient.py
- salt/loader.py
2016-08-25 10:14:38 -06:00
Thomas S Hatch
b3f6367621
Merge pull request #35753 from rallytime/fix-client-unit-test
...
Fixup the unit.client_test.LocalClientTestCase.test_cmd_subset from #35720
2016-08-25 09:55:23 -06:00
rallytime
92f8c836e8
Add cmd_mock back in to function spec
2016-08-25 07:05:52 -06:00
Alexandru Bleotu
e993f99053
Improved salt.utils.vmware.get_content, get_mors_with_properties
...
- added optional traversal_spec parameter to both methods, allowing the
user to specify a different TraversalSpec object to search for content
(if not specified, the behaviour is that all a traverse all search is
done)
- the traversal_spec is destroyed only if is created in the method
- added local_properties flag to both methods allowing the retrieval of
properties of the container object
- added tests for the 2 functions
2016-08-25 10:42:48 +01:00
rallytime
a671f0a092
Fixup the unit.client_test.LocalClientTestCase.test_cmd_subset from #35720
...
Refs #35720
2016-08-24 17:48:45 -06:00
rallytime
61e37d5956
Merge branch '2015.8' into '2106.3'
...
Conflicts:
- salt/loader.py
- salt/modules/s3.py
- salt/utils/s3.py
- tests/unit/modules/s3_test.py
2016-08-24 09:58:56 -06:00
Denys Havrysh
38d587c5fe
grains.filter_by: lookup_dict key could be a globing pattern
2016-08-24 17:52:14 +03:00
C. R. Oldham
ae9b2726b5
Fix some spelling, add better test for proxy
2016-08-23 16:42:14 -06:00
Justin Anderson
154dafdb89
Fix snapper_test for python26
2016-08-23 15:02:31 -06:00
Nicole Thomas
f3f068be72
Merge pull request #35702 from rallytime/merge-develop
...
[develop] Merge forward from 2016.3 to develop
2016-08-23 13:40:50 -06:00
Daniel Wallace
2d2bc1ffea
use aws.get_location in s3 modules
...
Also load the __utils__ into pillar and fileserver and fileclient so
that this function can be used there with __opts__.
Also sets the default for s3 to 'us-east-1' like it is documented.
Closes #30976
Closes #28913
2016-08-23 12:12:15 -05:00
Mihai Dincă
c80407ec4b
Fix tests ( #35693 )
...
* Fix tests/unit/modules/useradd_test.py::UserAddTestCase::test_info
* Fix unit/pyobjects_test.py::MapTests::test_map
* Fix tests/unit/pyobjects_test.py::RendererTests::test_extend
* Fix tests/unit/pyobjects_test.py::RendererTests::test_requisite_implicit_list
2016-08-23 10:49:53 -06:00
rallytime
b80ef26cf2
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/cli/batch.py
- salt/minion.py
- salt/modules/cassandra_cql.py
- salt/modules/rsync.py
2016-08-23 10:44:55 -06:00
Alexandru Bleotu
e66841ef69
Improved salt.utils.vmware.wait_for_task
...
- improved logging/description
- on success the method returns the result and on error it raises the
exception it got from vmware
- added unit tests
2016-08-23 17:07:54 +01:00
C. R. Oldham
424a9a8137
Merge pull request #34059 from alexbleotu/vmware_common-gh
...
Vmware common gh
2016-08-23 09:24:15 -06:00
Mike Place
618254a3f3
Merge pull request #35692 from cachedout/fix_status_test
...
Include grains in status moduele for unit test
2016-08-23 23:38:32 +09:00
Alexandru Bleotu
77e6e5afee
Improved connection to a VMware vCenter Server or ESXi host
...
- added support for passthrough connections via SSPI
- added function to specify if a connection is made to a vCenter or ESXi host
- added function to disconnect from a vCenter or ESXi host
- added tests for changed/new functions
2016-08-23 13:46:28 +01:00
Mike Place
08cc903be0
Include grains in status moduele for unit test
2016-08-23 21:09:41 +09:00
Mike Place
9865b07729
Adjust mock for docker test
...
cc: @dmacvicar
2016-08-23 21:04:52 +09:00
Mike Place
b90969089f
Merge pull request #35379 from vutny/issue-15061
...
grains.filter_by: allow grain value to be a list
2016-08-23 17:21:40 +09:00
Mike Place
9602a977c3
Merge pull request #35676 from rallytime/fixup-unit-tests
...
Fixup unit tests errors that are not registering as failures
2016-08-23 16:19:17 +09:00
rallytime
b5e5eeecd0
Remove htpasswd unit test for deprecated function that doesn't test anything
2016-08-22 17:14:07 -06:00
rallytime
49798ee301
Remove every.weeks reference: not available in relativedelta
2016-08-22 16:07:36 -06:00
rallytime
e14c930a74
Fixup errors in pillar consul unittests
2016-08-22 15:35:12 -06:00
Justin Anderson
64974c89d9
Backport #35627 to 2016.3 ( #35661 )
...
* This test was doing all sorts of things, raging from simply failing
to driving CPUs to 100%, to leaking memory until the entire test suite crashes.
This seems to happen only in conjunction with running the entire unit test suite
and does not occur on its own
cc: @kraney
* Better method to skip test. This way we can track it.
2016-08-22 13:03:24 -06:00
Nicole Thomas
92ecbc3b26
Remove deprecated version of status.uptime module function ( #35535 )
...
* Remove the deprecated version of the status.uptime function.
The deprecated version of the function was set to be removed in
Carbon. The Carbon release notes were also updated with this change.
* Remove test_deprecated_uptime unit test
The deprecated version of uptime no longer exists.
* Remove unused import and deprecated uptime reference
2016-08-22 09:25:21 -06:00
Mike Place
0dc7348f1d
Mock sys.exit in salt.utils.extend
...
Best not to push an exit into the test suite :]
2016-08-22 21:37:40 +09:00
Mike Place
7fc803b4bd
Try/except the setup call in tornado test as a workaround pending salt-testing release
2016-08-22 19:08:40 +09:00
Mike Place
b09fd9c741
Merge pull request #35632 from s0undt3ch/develop
...
Fix hang on test suite termination
2016-08-22 12:31:08 +09:00
Pedro Algarvio
a0d47fac40
Don't run routines if _handle_payload
is not present
2016-08-22 00:36:53 +01:00
Mike Place
9757766c71
Better method to skip test. This way we can track it.
2016-08-21 21:47:08 +09:00
Mike Place
ab6ead3e63
This test was doing all sorts of things, raging from simply failing
...
to driving CPUs to 100%, to leaking memory until the entire test suite crashes.
This seems to happen only in conjunction with running the entire unit test suite
and does not occur on its own
cc: @kraney
2016-08-21 21:43:52 +09:00
Mike Place
def20eb95d
Fix the rest of the locale tests on develop
...
Bad mocks
2016-08-21 16:22:09 +09:00
Mike Place
2452752fa6
Fix one broken locale unittest
2016-08-20 22:42:23 +09:00
Mike Place
579358bb18
Merge pull request #35457 from jtand/properly_skip_win_firewall_test
...
Win_firewall_test was not properly gated to windows
2016-08-20 12:12:13 +09:00
Mike Place
ce481ae3e7
Merge pull request #35477 from bodhi-space/infra1931
...
INFRA-1931 - support (present/absent) for hosted zones in states/boto_route53
2016-08-20 12:09:32 +09:00
Mike Place
41cda642d6
Merge pull request #35518 from cachedout/fix_parallels
...
Fix Parallels module and associated tests
2016-08-20 11:38:44 +09:00
Mike Place
4153aeba29
Merge pull request #35605 from rallytime/bp-32739
...
Back-port #32739 to 2016.3
2016-08-20 10:39:38 +09:00
rallytime
f2eb625778
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-08-19 11:13:15 -06:00
abednarik
36d8b4a409
Rsync synchronized updates.
...
Aadded --dry-run option which is also used for test mode
taking adventage of this option in rsync.
Update state documentation to follow Salt standards
Finally synchronized was not working, See #32478 . Changes cmd.run to cmd.run_all make this works.
Tests updated
2016-08-19 10:42:37 -06:00
Erik Johnson
4f0b3be20c
Fix localemod tests ( #35583 )
...
This changes the mocking for the context variables to reflect changes
made in 5b12f03
.
2016-08-18 20:56:20 -06:00
Erik Johnson
beb6ca8ef9
Update linux_sysctl tests to reflect new context key ( #35584 )
...
* Update docstring to reflect optional context argument
It used to not be optional.
* Update linux_sysctl tests to reflect new context key
This key was changed in 5b12f03
, this updates the tests to reflect the
change.
2016-08-18 20:56:08 -06:00
rallytime
7b3fc41868
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/cloud/clouds/lxc.py
- salt/cloud/clouds/nova.py
- salt/cloud/clouds/vmware.py
- salt/cloud/clouds/vsphere.py
- salt/cloud/libcloudfuncs.py
- salt/minion.py
- salt/modules/yumpkg.py
- salt/utils/cloud.py
2016-08-18 14:37:42 -06:00
rallytime
2930df924e
Update localemod_test systemd.sd_booted mock to use salt.utils.systemd.booted
...
This brings these tests inline with the changes made to salt.utils.systemd.booted
in #35510
2016-08-18 13:31:26 -06:00
rallytime
e61b04a707
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cloud/clouds/digital_ocean.py
- salt/cloud/clouds/ec2.py
- salt/cloud/clouds/libcloud_aws.py
- salt/cloud/clouds/opennebula.py
- salt/cloud/clouds/rackspace.py
- salt/cloud/clouds/softlayer.py
- salt/cloud/clouds/softlayer_hw.py
- salt/cloud/clouds/vmware.py
- salt/loader.py
- salt/modules/aptpkg.py
- salt/modules/ebuild.py
- salt/modules/pacman.py
- salt/modules/systemd.py
- salt/modules/yumpkg.py
- salt/modules/zypper.py
- salt/scripts.py
- salt/utils/cloud.py
2016-08-18 12:09:51 -06:00
Mike Place
205d8e2e7b
Merge pull request #35483 from gtmanfred/2015.8
...
use __utils__ in salt.cloud
2016-08-18 22:32:22 +09:00
rallytime
d2340a0aad
Merge branch '2016.3' into 'develop'
...
Conflicts:
- pkg/windows/build.bat
- pkg/windows/build_pkg.bat
- tests/runtests.py
2016-08-17 12:13:26 -06:00
Erik Johnson
5b5f19d269
Update zypper unit test to reflect call to config.get
2016-08-17 11:43:22 -05:00
Erik Johnson
f83e0ef242
Add unit tests for salt.utils.systemd
2016-08-17 11:30:14 -05:00
Mike Place
9c814d7d37
Fix Parallels module and associated tests
...
The Parallels module had a bug wherein gids would return in an indeterminate manner because it incorrectly assumed that a Python set would be ordered.
2016-08-18 00:06:09 +09:00
Justin Anderson
a229d5bf93
Update windows gate to use salt.utils.is_windows()
2016-08-17 08:50:38 -06:00
Mike Place
c1deb945d7
Merge pull request #35429 from tankywoo/fix-iptables-target-options
...
Fix iptables target options with no arguments
2016-08-17 19:05:17 +09:00
Mike Place
c68616ceb3
Merge pull request #35493 from rallytime/blockdev-mod
...
Update the blockdev state to reference the disk execution module.
2016-08-17 19:03:37 +09:00
rallytime
64e49a43fc
Update blockdev references to 'disk' in blockdev state unit test
2016-08-16 15:02:18 -06:00
rallytime
49179ac401
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/win_pkg.py
- tests/integration/files/conf/master
2016-08-16 12:52:20 -06:00
Tom Williams
9a44645d38
INFRA-1931 - fix testcase test_that_when_describing_vpc_by_id_it_returns_the_dict_of_properties_returns_true
2016-08-16 13:43:08 -04:00
Daniel Wallace
2d8ec1e9db
use __opts__ in salt.utils.cloud for cache functions
2016-08-16 12:03:45 -05:00
rallytime
c6c82be1de
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cloud/deploy/bootstrap-salt.sh
2016-08-16 11:02:05 -06:00