Mike Place
bc8960f71a
Merge pull request #35343 from s0undt3ch/develop
...
Add support for other types of pre-releases
2016-08-11 09:56:45 +09:00
Mike Place
4bbc7b63bc
Merge pull request #35344 from dincamihai/patch-0003
...
Add test for non-ascii pkg.info_installed
2016-08-11 09:55:50 +09:00
Mike Place
0fcfc70cc8
Merge pull request #35356 from jfindlay/log_levels
...
document log levels and warn on all logging below info
2016-08-11 09:45:55 +09:00
Mike Place
dfac0dec9f
Merge pull request #35368 from rallytime/file-module-deprecations
...
Remove contains_regex_multiline function from file module
2016-08-11 09:36:02 +09:00
rallytime
102fcbe916
Remove contains_regex_multiline function from file module
2016-08-10 16:43:49 -06:00
rallytime
f37255ed16
Move remaining blockdev func unit tests to disk unit tests and delete file
2016-08-10 16:32:14 -06:00
Justin Findlay
2fc3a55338
utils.verify.verify_log: warn at all levels less than info
2016-08-10 14:10:43 -06:00
rallytime
0b1e9e9a78
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/client/mixins.py
- salt/grains/core.py
- salt/modules/saltutil.py
- salt/runner.py
- salt/states/saltmod.py
- salt/wheel/__init__.py
- tests/unit/states/saltmod_test.py
2016-08-10 10:25:32 -06:00
rallytime
a651962e95
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-08-10 10:02:03 -06:00
Mihai Dinca
867ead79e5
Add test for non-ascii pkg.info_installed
2016-08-10 17:34:26 +02:00
Pedro Algarvio
5a18b6c626
Add support for other types of pre-releases
2016-08-10 16:05:50 +01:00
Jeffrey 'jf' Lim
921be89d32
Add unit tests for sys.list_renderers
2016-08-10 09:13:08 +08:00
Jeffrey 'jf' Lim
ea23f7d27d
Fix bug in sys.list_returners (all non-glob arguments return empty)
2016-08-10 08:43:47 +08:00
Jeffrey 'jf' Lim
70ae9704a0
Fix bug in sys.list_runners (all non-glob arguments return empty)
2016-08-10 08:30:30 +08:00
Jeffrey 'jf' Lim
af19c762f2
Fix up sysmod_test.py unit test file:
...
- take a stab at actual mocking
- general fix of tests, including for all *_doc tests
2016-08-10 04:04:47 +08:00
Ch3LL
c9b7c3cf80
need to add returners option in other places
2016-08-09 13:53:42 -06:00
Erik Johnson
243909f39d
file.recurse: Do not convert octal mode string to int ( #35309 )
...
* Add integration test for #34945
* file.recurse: Do not convert octal mode string to int
When we run file.makedirs_perms to create the dest directory, we pass
through the mode to file.check_perms. However, file.check_perms expects
an octal string, not an int. This causes the initial directory to be
chmod'ed to the wrong mode. When there are files in the source
directory, file.recurse will invoke the file.directory state to manage
files/dirs in that directory, and this ends up correcting the mode as we
simply pass the dir_mode to it. However, when there are only directories
in the source directory, this never happens and the incorrect mode
remains on the destination directory.
Fixes #34945 .
2016-08-09 13:02:26 -06:00
rallytime
2d3eadfe49
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-08-09 11:15:48 -06:00
Ch3LL
7316df7a02
fix pylint
2016-08-09 10:35:01 -06:00
Mike Place
ce7aeb6ca4
Merge pull request #35227 from isbm/isbm-osfinger-ubuntu-fix
...
Isbm osfinger ubuntu fix
2016-08-10 00:38:30 +09:00
Ch3LL
50a4f0fe6a
fix comment
2016-08-09 09:26:51 -06:00
Mike Place
a3e29c8274
Final check for running procs ( #35292 )
...
* Final check for running procs
This does a final check to kill any running procs that are lingering.
* Lint
2016-08-09 08:48:06 -06:00
Mike Place
15d088c15f
Avoid str to bytes join in test util ( #35295 )
...
Fixes some shell.call tests.
2016-08-09 08:47:34 -06:00
Erik Johnson
d621aa7b61
Update runner/wheel unit tests to reflect new key in ret dict
2016-08-09 08:49:52 -05:00
Morrie Winnett
04acb5657b
Add initial win_iis unit tests
2016-08-09 01:25:43 -07:00
Mike Place
7310921f81
Merge pull request #35277 from plastikos/bug-testprogram_env_pythpath
...
Joining sys.path is redundant and causes the string result to be split and re-joined.
2016-08-09 09:10:11 +09:00
Mike Place
715dc14b9b
Merge pull request #35247 from rallytime/carbon-deprecations
...
Remove some of the things that are deprecated in Carbon
2016-08-09 09:00:27 +09:00
Ch3LL
6837acf742
add job cache integration tests
2016-08-08 17:01:02 -06:00
rallytime
de4b33f2e1
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/client/ssh/__init__.py
- salt/client/ssh/shell.py
- salt/config/__init__.py
- salt/grains/core.py
- salt/utils/gitfs.py
2016-08-08 12:34:23 -06:00
Thayne Harbaugh
5fb3f025e4
Joining sys.path is redundant and causes the string result to be split and re-joined.
2016-08-08 11:31:17 -06:00
rallytime
2b4c156df1
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/client/ssh/__init__.py
- salt/grains/core.py
- salt/output/highstate.py
2016-08-08 11:15:43 -06:00
Mike Place
5509df911f
Merge pull request #35270 from jf/exact_matching_for_sys.list_x_functions
...
Exact matching for sys.list_x_functions
2016-08-09 01:43:08 +09:00
Mike Place
5ffbd852c6
Merge pull request #35184 from rallytime/py3-unit-state-service-test
...
PY3: Don't use contextlib.nested - it is deprecated.
2016-08-09 01:39:10 +09:00
rallytime
4835c31f23
Remove tests for deprecated functions
2016-08-08 09:58:37 -06:00
rallytime
86a5e04417
Pylint fix
2016-08-08 09:53:29 -06:00
Jeffrey 'jf' Lim
474ce496eb
Fix linting problem ('at least two spaces before inline comment')
2016-08-08 23:28:52 +08:00
Jeffrey 'jf' Lim
ad1ce91d20
Fix sys.list_returner_functions glob matching ( #35255 ), and also allow it to
...
do exact matching for function names
2016-08-08 20:16:08 +08:00
Pablo Suárez Hernández
18700e821e
unit tests for rpm.checksum() and zypper.download()
...
lint issue fixed
2016-08-08 11:57:14 +01:00
Jeffrey 'jf' Lim
225d9ff915
Allow sys.list_runner_functions to do exact matching for function names
2016-08-07 14:16:13 +08:00
Jeffrey 'jf' Lim
3491e5dcfa
Allow sys.list_{,state_}functions to do exact matching for function names
...
Note that this deprecates the matching of sys when provided "sys."
("sys" already works; just use that!).
2016-08-07 14:16:13 +08:00
Mike Place
a0f99144f4
Merge pull request #35254 from jf/revert-test-reinsertions
...
Revert b00b3c4
(but keep addition to allow_failure list in test_valid…
2016-08-07 07:53:42 +09:00
Mike Place
afe50c7fc8
Fixup VMWare PR
...
Refs #35099
2016-08-07 07:50:28 +09:00
Mike Place
b778760a30
Merge pull request #35099 from Antillion/salt-cloud-esx_5_5-fixes
...
Salt cloud esx 5 5 fixes
2016-08-07 07:44:41 +09:00
Mike Place
6714e8f386
Fix mock call in disk wipe test
2016-08-07 06:57:20 +09:00
Mike Place
6e7f907d36
Merge pull request #35179 from rallytime/py3-unit-template-tests
...
PY3: Fixup jinja template unit tests
2016-08-07 06:48:51 +09:00
Jeff
abb72e478f
Revert b00b3c4
(but keep addition to allow_failure list in test_valid_docs())
2016-08-06 20:10:06 +08:00
Mike Place
74f7fc0fc0
Merge pull request #35186 from terminalmage/py3-tests-integration-loader
...
Make integration.loader tests PY3-compatible
2016-08-06 17:42:41 +09:00
Mike Place
a2df47e283
Merge pull request #35195 from jf/sys.list_state_modules-exact-matching
...
exact matching for sys.list_state_modules
2016-08-06 17:36:33 +09:00
Erik Johnson
e2e8bbbfde
Add integration test for #35214
2016-08-05 20:47:24 -05:00
Bo Maryniuk
fe5da97283
Lintfix: E8303
2016-08-06 00:27:34 +02:00
Bo Maryniuk
4dc45f2509
Add grains unit test for Ubuntu systems
2016-08-05 11:55:02 +02:00
rallytime
807c1729ba
PY3: Use assertCountEqual instead of assertItemsEqual
...
assertItemsEqual is deprecated in Python 3 and replaced by assertCountEqual
2016-08-04 15:13:08 -06:00
rallytime
2d5d5fe7f9
Don't try to hash unicode strings in PY3
...
Avoids: TypeError: Unicode-objects must be encoded before hashing
2016-08-04 15:13:08 -06:00
Jeffrey 'jf' Lim
06c2407f8d
(a la #33775 ) allow for sys.list_state_modules to do exact matching too
2016-08-04 17:26:49 +08:00
Jeffrey 'jf' Lim
176653eded
s/list_modules/list_functions in sysmod_test.py
2016-08-04 12:38:45 +08:00
Erik Johnson
9938c4ba0d
Make integration.loader.loader tests PY3-compatible
...
Note that the LazyLoader still doesn't work quite right, the tests still
fail. But, this resolves Python 3 incompatibility issues.
2016-08-03 17:21:31 -05:00
rallytime
f42ca4b576
PY3: Don't use contextlib.nested - it is deprecated.
...
contextlib.nested is deprecated in Python 3. Instead of having two
different ways of handling nested (PY2) vs ExitStacks (PY3), just use
nested with statements for both.
2016-08-03 14:49:24 -06:00
rallytime
c7c9e3b64b
PY3: Fixup jinja template unit tests
2016-08-03 12:45:29 -06:00
Mike Place
db68d2cacb
Merge pull request #35037 from twangboy/int_tests_sysmod
...
Fix sysmod integration tests on Windows
2016-08-03 07:59:00 -06:00
Mike Place
99bd7b7e3c
Merge pull request #35151 from terminalmage/py3tests-integration-output
...
Fix integration.output tests for PY3
2016-08-03 07:46:16 -06:00
Oliver Tupman
af0e0ac165
Resolves issue where no image or clonefrom gives image
log error, along with a test for it
2016-08-03 12:16:26 +01:00
Jeffrey 'jf' Lim
dd6ebed1d6
Refactor sys.list_functions
2016-08-03 15:15:47 +08:00
twangboy
8626a20942
Add missing docs and cli examples
2016-08-02 17:33:20 -06:00
twangboy
b00b3c4e65
Fix tests
2016-08-02 17:33:20 -06:00
Mike Place
59dbb05db6
Disable init script test temporarily
...
This will be re-enabled later on.
2016-08-03 07:40:30 +09:00
Mike Place
c69643d4ef
Fix error in passing timeout for salt tests
2016-08-03 07:30:09 +09:00
Erik Johnson
5d40ffff01
Use a path that non-root users can write to for output file
2016-08-02 17:25:22 -05:00
rallytime
f76cf617a7
Pylint fix
2016-08-02 14:23:20 -06:00
rallytime
72a116b731
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/states/pkg.py
2016-08-02 13:05:36 -06:00
Mike Place
9d7c22e1cb
Merge pull request #35143 from cachedout/fix_docker_test
...
Fix docker test
2016-08-02 13:02:52 -06:00
Mike Place
be42f8857f
Fix docker test
...
I think this was originally just a typo
2016-08-03 04:00:33 +09:00
Mike Place
2b7b4eb4ca
Fix wheel test
...
This aligns with the new test layout
2016-08-03 03:53:15 +09:00
Mike Place
b3fa25c2ab
Merge pull request #35141 from cachedout/fix_batch_tests
...
Remove py3 distinction in batch test
2016-08-02 12:39:40 -06:00
Mike Place
324fdd121f
Remoe py3 fix/shell/salt.utils.event
2016-08-03 03:38:35 +09:00
Mike Place
49a2292e4c
Merge pull request #35140 from cachedout/fix_batch_tests
...
More liberal matching for batch tests
2016-08-02 12:34:13 -06:00
Mike Place
4df8b32509
More liberal matching for batch tests
...
Fixes test failures currently in develop
2016-08-03 03:32:03 +09:00
Mike Place
f8a6fb6d68
Merge pull request #35130 from gtmanfred/py3
...
Py3 tests for unit.utils
2016-08-02 12:24:55 -06:00
Mike Place
69961fb2a5
Merge pull request #35101 from jtand/saltutil_test_fixes
...
Check return dict on saltutil integration test
2016-08-02 12:07:55 -06:00
Mike Place
f7bfc5dd4a
Don't run Windows tests on Linux
2016-08-03 01:53:27 +09:00
Justin Anderson
8517ec9458
accurately check return dict
2016-08-02 10:39:21 -06:00
Justin Anderson
cc036ac907
fix test_wheel_with_kwarg
2016-08-02 10:39:21 -06:00
Mike Place
dd91006ed7
Merge pull request #35120 from kstreee/fix-missing-first-stream-data
...
The '_handle_event_socket_recv' function in Salt Api is missing first data of stream.
2016-08-02 10:22:50 -06:00
Daniel Wallace
09c5088c3c
[PY3] fix warnings_test
...
maxint is not available in py3. It was removed, but maxsize can be used
instead.
https://docs.python.org/3.1/whatsnew/3.0.html#integers
2016-08-02 10:25:35 -05:00
Daniel Wallace
445c7a2c20
[PY3] python3ize schema test
...
thirsty is specified as a boolean
need to copy the top level of kwargs so that the dictionary does not
changes size during the loop.
2016-08-02 10:25:35 -05:00
Daniel Wallace
f5b1769e0b
[PY3] bytes for events_test
2016-08-02 10:25:35 -05:00
Dmitry Kuzmenko
b50d85a154
Properly remove minion_test_issue_2731 key.
2016-08-02 14:47:51 +03:00
Mike Place
6994825b3d
Merge pull request #35015 from DSRCompany/features/8705_run_and_key_eauth
...
#8705 run and key eauth
2016-08-02 02:47:27 -06:00
Mike Place
cfc66b848e
Merge pull request #35115 from cachedout/fix_state_sync
...
Sync before state tests
2016-08-02 02:46:50 -06:00
Oliver Tupman
5b9e618103
Fixes minor whitespace and comment issues
2016-08-02 09:35:19 +01:00
Mike Place
2743e01d9b
Merge pull request #35116 from rallytime/py3-int-shell-tests
...
PY3: Fix some string encoding problems in shell integration tests
2016-08-02 02:05:30 -06:00
Mike Place
57e6ea5e51
Merge pull request #35064 from twangboy/int_tests_useradd
...
Add useradd integration tests for Windows
2016-08-02 01:59:33 -06:00
Mike Place
e058be0c3b
Fix typo
2016-08-02 01:45:48 -06:00
kstreee
28f793caac
Fix missing first data in stream when subscribing stream using a function 'read_async'.
2016-08-02 07:37:25 +00:00
Dmitry Kuzmenko
1d606e71c8
Fixed pylint error.
2016-08-02 10:01:01 +03:00
Dmitry Kuzmenko
42ef411c82
Updated salt-key test.
2016-08-02 10:01:01 +03:00
Dmitry Kuzmenko
b412e7814a
Fixed salt-run integration tests.
2016-08-02 10:01:01 +03:00
Jeffrey 'jf' Lim
fe87097abd
Round out (unit) test cases for sys.list_{functions,modules}
2016-08-02 12:32:54 +08:00
Jeffrey 'jf' Lim
75816fed93
Address linter issues for tests/unit/states/sysmod.py
...
("Exactly one space required after comma")
2016-08-02 12:09:57 +08:00
Jeffrey 'jf' Lim
8ab96d9b50
Remove integration tests for sys.list_{functions,modules}
2016-08-02 12:09:56 +08:00
Jeffrey 'jf' Lim
84a2512605
Throw in "sys." to the unit test for sys.list_functions too
...
(source: integration test for sys.list_functions)
2016-08-02 12:08:45 +08:00
Jeffrey 'jf' Lim
9df1c9933e
Unit tests in place of integration tests for sys.list_{functions,modules}
...
NOTE that while I modify test_doc(), this is in order to make it pass.
test_doc() should not be seen as a proper test. Please do a better mock!
2016-08-02 12:08:45 +08:00
Mike Place
f1fbdf12de
Merge pull request #35113 from kraney/boto_iot_thing_types
...
Support for aws iot 'thing type'
2016-08-01 18:33:06 -06:00
rallytime
d787140861
Make some adjustments after resolving merge conflict
2016-08-01 18:32:28 -06:00
Mike Place
b5e556f3a3
Sync before state tests
2016-08-01 18:26:18 -06:00
rallytime
1f45d906c8
PY3: Fix byte string encoding issues when running shell.master int tests
2016-08-01 18:03:48 -06:00
rallytime
fbe87fbb4a
PY3: Fix byte string encoding issues when running shell.proxy int tests
2016-08-01 18:03:48 -06:00
rallytime
f47e2f9399
PY3: Fix byte string encoding issues when running shell.minion int tests
2016-08-01 18:03:48 -06:00
Mike Place
4587a3112f
Merge pull request #35035 from plastikos/test-cli_exit_status
...
Test CLI exit status
2016-08-01 16:24:55 -06:00
Winston Liu
ef97c3f474
added unit tests for thing type present/absent states for boto_iot state functions.
2016-08-01 15:23:51 -07:00
Winston Liu
56b41a5f07
additional unit test to cover newly introduce operations on thing type in boto_iot.
2016-08-01 14:46:56 -07:00
twangboy
8eb97d08be
Remove whitespace
2016-08-01 14:08:52 -06:00
rallytime
a2fbbebe86
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/master.py
- salt/modules/saltutil.py
- salt/states/saltmod.py
2016-08-01 13:42:36 -06:00
Mike Place
8fc2c672eb
Merge pull request #35034 from thor/feature/tomcat-version-care
...
Fixing the Tomcat state's indifference to a lack of versions and incorrect file paths
2016-08-01 11:36:48 -06:00
Mike Place
98aad37cd6
Merge pull request #35095 from eradman/localemod
...
Properly mock localemod unit tests
2016-08-01 11:26:21 -06:00
Thayne Harbaugh
c6d08bf31b
Minor tweaks to testing exit codes
...
* shared config settings go in `config_base` rather than *each* config
* Ensure that `name` attribute is a string
* Ensure that `dirtree` gets used from kwargs
* Adding 'XXXX' to the mkdtemp template is unnecessary
* Only template values if they are strings - otherwise just use them directly
2016-08-01 11:20:15 -06:00
Mike Place
3c58b0237d
Merge pull request #35049 from terminalmage/zd868
...
Fire events for orchestration jobs containing the passed arguments
2016-08-01 11:07:04 -06:00
Oliver Tupman
922163be2a
Adds tests for changes, plus a small refactor to remove a comment
2016-08-01 17:06:57 +01:00
Oliver Tupman
3b79c7c36d
Quick refactor to remove duplication and add a test for config validation failure
2016-08-01 17:06:57 +01:00
Oliver Tupman
e37a8e98bd
Adds simple, if verbose test to validate the image/clonefrom settings
2016-08-01 17:06:57 +01:00
Eric Radman
80f8b87ce3
Properly mock localemod unit tests
...
locale_gentoo* unit tests only pass on Linux systems because the
localedef is in the search path.
2016-08-01 11:26:13 -04:00
Mike Place
d137c4b986
Merge pull request #34955 from lubyou/fix-dism-on-non-english-systems
...
force dism to always output english text
2016-08-01 06:54:03 -06:00
Mike Place
9bf9edb0e0
Merge pull request #35071 from terminalmage/issue35065
...
Detect nodegroup lists with no compound syntax as L@host1,host2,host3...
2016-08-01 06:52:40 -06:00
Jeffrey 'jf' Lim
17a230a2e5
Tighten up test_list_modules_with_arg: should include "assertNotIn" too
2016-07-31 02:16:45 +08:00
Erik Johnson
bd4d1d31a0
Add nodegroup_comp unit tests
2016-07-29 19:28:52 -05:00
twangboy
8e83757c78
Fix test_add_user_to_group
2016-07-29 12:07:14 -06:00
Thayne Harbaugh
5816463eae
Corrections to proxy testing:
...
* Ensure that the --config_dir argument is passed when "verbatim_args" is set
* Ensure that the user option is set to "unknown" for both proxy and minion configurations
2016-07-29 11:57:54 -06:00
twangboy
35017d7241
Add useradd integration tests for Windows
2016-07-29 11:30:34 -06:00
Erik Johnson
e32644f275
Update state unit tests to use new orchestration_jid param
2016-07-29 12:17:59 -05:00
Mike Place
ec821510bf
Merge pull request #34909 from twangboy/int_tests_beacons
...
Add check for admin on Windows, gated
2016-07-29 10:39:28 -06:00
twangboy
2cb5787bad
Remove linux gate
2016-07-29 10:24:29 -06:00
twangboy
402901aff0
Add check for admin on Windows, gated
2016-07-29 10:20:45 -06:00
Mike Place
4fe3397a41
Merge pull request #34921 from tonybaloney/quickstart
...
Introduce a template system for extending SaltStack open
2016-07-28 22:38:10 -06:00
Thayne Harbaugh
8a700b54f8
Appease the pylint gods: lambdas
2016-07-28 15:20:25 -06:00
Thayne Harbaugh
c37bafaca1
Appease the pylint gods.
2016-07-28 14:50:53 -06:00
Mike Place
66127f277b
Merge pull request #35005 from twangboy/int_tests_state
...
Fix state execution module integration tests for Windows
2016-07-28 13:37:54 -06:00
Mike Place
9adfa4a651
Merge pull request #34972 from twangboy/int_tests_hosts
...
Fix hosts integration tests for Windows
2016-07-28 13:36:11 -06:00
Thor K. H
7f6942ec7f
Fixing coding style and change w/o updated test
...
Fixed testing for tomcat.wait, as well as updating style. Should resolve
any test errors isolated to the module and/or state.
2016-07-28 21:24:52 +02:00
Thor K. H
bb38055ae4
Initial work on adapting Tomcat to care correctly
...
Ensure that lack of version does not result in blank version being used,
as to avoid certain Java EE applications from having issues with paths
when parallell execution is not "supported".
This fixes #24990 by both not adding a blank version if there is no
version to exract, but also by allowing you to overwrite that there
should be *no* version whether or not your WAR-file ends with `-1.2.3`.
Tests added for specifically dealing with no-to-version scenarios,
as well as several minor documentation tweaks that hopefully aren't too
interruptive!
2016-07-28 20:02:57 +02:00
rallytime
fde7e0f4c5
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/utils/schedule.py
2016-07-28 11:08:14 -06:00
rallytime
65f9365ee0
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-28 11:05:54 -06:00
twangboy
1607da0841
Better fix
2016-07-28 09:48:09 -07:00
twangboy
5ca2f15664
Fix test_issue_1896... for Linux
2016-07-28 09:33:23 -07:00
Eric Radman
42222b06fe
Remove stray debug print statements ( #35019 )
...
This cleans up the unit test output a bit, mostly leaving deprecation warnings.
2016-07-28 09:17:27 -06:00
Nicole Thomas
812916b45f
Fix rabbitmq_user state test to check for correct string ( #35007 )
...
This test was failing when I ran it locally - I'm not sure why the
error isn't showing up in Jenkins, but I double checked the string
in the state and there should be single-quotes around the user name.
2016-07-28 08:37:37 -06:00
Anthony Shaw
87954a2baf
add newline to test
2016-07-28 12:44:01 +10:00
Anthony Shaw
bc528eb4d0
completed test to check files, names and contents
2016-07-28 11:52:16 +10:00
Anthony Shaw
b7257baade
add test class
2016-07-28 11:41:15 +10:00
twangboy
d409a51bec
Add missing state file for windows
2016-07-27 15:23:51 -07:00
twangboy
55cb909f68
Fix two more tests for Windows
2016-07-27 15:17:36 -07:00
Nicole Thomas
b089db6f21
Fix pylint of develop ( #35002 )
2016-07-27 15:18:29 -06:00
rallytime
35696ad637
Pylint fix
2016-07-27 15:12:41 -06:00
Mike Place
f9fd6ddd8a
Fixup #33875
2016-07-27 13:25:59 -06:00
Eu
56b1f6c651
Fix naive fileserver map diff algorithm
...
Naively comparing sorted dict keys does not guarantee that maps are equal. We
must compare mtimes for filenames in case keys are the same to make sure there
isnt a modified file.
2016-07-27 13:24:19 -06:00
Mike Place
48aa151fa6
Fixup #33875
2016-07-27 13:17:57 -06:00
Mike Place
7956dbe568
Merge pull request #33875 from sangoma/correct_map_diff
...
Fix naive fileserver map diff algorithm
2016-07-27 13:14:49 -06:00
Mike Place
aae430d8c1
Merge pull request #34977 from terminalmage/zd868
...
Add jid to return from runner/wheel funcs executed within orchestration
2016-07-27 13:10:57 -06:00
Nicole Thomas
a5582d0535
Revert "Decode byte strings when running tests in Python 3"
2016-07-27 13:00:01 -06:00
twangboy
3da842cea3
Put import in the right place
2016-07-27 11:21:20 -07:00
twangboy
e74fd599ce
Add missing import salt.utils.win_functions
2016-07-27 11:17:16 -07:00
Erik Johnson
c3f9e13fbe
Update unit tests to reflect new behavior of WheelClient/RunnerClient
2016-07-27 13:01:24 -05:00
rallytime
a7d4f93697
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- tests/integration/__init__.py
2016-07-27 11:35:16 -06:00
Mike Place
b58c663d8d
Merge pull request #34991 from cachedout/ssh_timeout
...
SSH timeout
2016-07-27 11:24:37 -06:00
Mike Place
1067c17095
Merge pull request #34826 from rallytime/unit-module-py3-tests
...
Python 3 compatibility fixes (execution module unit tests)
2016-07-27 11:24:00 -06:00
Mike Place
5f8370ae8d
Refine errors in client ( #34976 )
...
* Refine errors in client
Check for the existence of cache data
* Adjust tests for new return string
2016-07-27 11:05:31 -06:00
Mike Place
39cd8da399
Lint diff against salt-testing
2016-07-27 10:42:44 -06:00
Mike Place
443e5cdde2
Add timeout to ssh tests
2016-07-27 10:40:02 -06:00
rallytime
83d3ac4771
Decode byte strings when running tests in Python 3
2016-07-27 10:34:34 -06:00
Mike Place
28268208f9
Merge pull request #34937 from twangboy/int_tests_cp
...
Fix test_list_minion for Windows
2016-07-27 08:53:45 -06:00
Mike Place
847d8ea95f
Merge pull request #34939 from twangboy/int_tests_git
...
Fix git integration tests for Windows
2016-07-27 08:44:35 -06:00
Mike Place
d1e808254e
Merge pull request #34968 from rallytime/fix-34967
...
Older versions of psutil may not have the 'children' attribute for processes
2016-07-27 08:37:04 -06:00
Mike Place
2d3b95dec9
Merge pull request #34971 from cachedout/increase_timeout_grains_test
...
Increase timeout for grains test
2016-07-26 16:11:29 -06:00
Mike Place
82d271b43a
Increase timeout for grains test
2016-07-26 16:10:30 -06:00
twangboy
47fb8379d7
Remove hosts and aliases from sub_minion conf
2016-07-26 16:07:55 -06:00
twangboy
d7800567f5
Fix hosts integration test
2016-07-26 16:00:07 -06:00
rallytime
28d28aa82e
Older versions of psutil may not have the 'children' attribute for processes
...
We also should make sure the 'children' variable is instantiated before calling it.
Fixes #34967
2016-07-26 13:46:31 -06:00
Seth House
ca61237de7
Ensure 'data' remains a dictionary if conf file is empty or missing
2016-07-26 12:41:42 -06:00
Nicole Thomas
73d3b77a2c
Merge pull request #34960 from rallytime/merge-develop
...
[develop] Merge forward from 2016.3 to develop
2016-07-26 12:32:41 -06:00
Mike Place
55bb3d09ab
Merge pull request #34919 from tonybaloney/libcloud_dns_states
...
Add a new state module for managing DNS records and zones through Libcloud
2016-07-26 11:51:08 -06:00
Johannes Scholz
775ea73578
fix unit tests
2016-07-26 19:46:14 +02:00
twangboy
d0a96181e6
Clarify lowercase checking
2016-07-26 10:39:54 -07:00
twangboy
3c0cf59565
Fix lint
2016-07-26 10:34:54 -07:00
rallytime
76e8dd974a
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/state.py
- tests/integration/__init__.py
- tests/integration/wheel/key.py
2016-07-26 11:05:24 -06:00
Mike Place
d80350cdcc
Increase all run_script timeouts to 30s ( #34956 )
2016-07-26 10:54:45 -06:00
Shane Lee
84e2e8b101
Fix grains integration tests for Windows ( #34941 )
2016-07-26 10:49:10 -06:00
Anthony Shaw
6c08afd62b
GCE Cloud tests ( #34871 )
...
* add test module
* modify GCE tests to remove mocks
* use certifi, libcloud has also patched the SuSE/Mac cert issues
* skip cert checking
* validate the __virtual__ and import process
* fix munged merge
* fixed lint errors and failing test
* fix dimensiondata tests in the same way whilst I'm here
2016-07-26 09:24:20 -06:00
Shane Lee
c4131c0afb
Skip inode test in Windows ( #34938 )
2016-07-26 08:59:47 -06:00
twangboy
a5537ad6b9
Fix test_init, add lower
2016-07-25 16:11:36 -07:00
twangboy
e50ce384c0
Fix git integration tests for Windows
2016-07-25 15:45:11 -07:00
twangboy
0f74afc257
Fix test_list_minion for Windows
2016-07-25 14:49:32 -07:00
rallytime
8b295fe4ea
Merge branch '2015.8' into '2016.3'
...
Conflicts:
salt/config/__init__.py
salt/utils/parsers.py
tests/integration/__init__.py
2016-07-25 14:13:44 -06:00
Anthony Shaw
ff60aec050
fix munged merge
2016-07-25 15:58:45 +10:00
Anthony Shaw
a3e37cc2d0
Merge branch 'develop' of github.com:saltstack/salt into develop
2016-07-24 20:08:47 +10:00
Anthony Shaw
8df4c35f5c
zone absent with tests
2016-07-24 19:48:11 +10:00
Anthony Shaw
3b5ddcb607
added zone_present state check
2016-07-24 19:45:06 +10:00
Anthony Shaw
4d7f3169f6
added zone_present state check
2016-07-24 19:43:06 +10:00
Anthony Shaw
fa04e2fcf5
use the correct dictionary structure for state changes
2016-07-24 19:30:32 +10:00
Anthony Shaw
fa5ac70183
add record absent logic and tests
2016-07-24 19:16:48 +10:00
Anthony Shaw
7f28b14958
fix tests
2016-07-24 19:06:34 +10:00
Anthony Shaw
51654e9b7a
add record name to mocks
2016-07-24 17:34:29 +10:00
Anthony Shaw
cb13bb6fba
add test with mocked execution module
2016-07-24 17:13:51 +10:00