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
twangboy
8eb97d08be
Remove whitespace
2016-08-01 14:08:52 -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
Jeffrey 'jf' Lim
17a230a2e5
Tighten up test_list_modules_with_arg: should include "assertNotIn" too
2016-07-31 02:16:45 +08: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
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
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
rallytime
fde7e0f4c5
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/utils/schedule.py
2016-07-28 11:08:14 -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
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
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
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
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
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
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
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
Mike Place
baee2f2558
Config test no longer applies to new test config
2016-07-22 18:59:31 -06:00
Mike Place
8becec2f4f
Backport #34906
2016-07-22 17:22:50 -06:00
twangboy
ff1fbce6ae
Add check for admin on Windows, gated
2016-07-22 15:53:17 -07:00
Mike Place
1aee8b7dd4
Merge pull request #34906 from cachedout/set_run_salt_timeout
...
Set timeout for run_salt in test suite
2016-07-22 16:43:48 -06:00
Mike Place
caf0361bc1
Merge pull request #34807 from terminalmage/issue2707
...
Feature addition: preserve mode in file states
2016-07-22 16:43:31 -06:00
Mike Place
345e3e56b8
Merge pull request #34899 from rallytime/integration-cli-tests
...
Fix integration/cli/*.py test failures when Running in Python 3
2016-07-22 16:22:11 -06:00
Mike Place
cdfd0161fc
Set timeout for run_salt in test suite
2016-07-22 16:14:25 -06:00
Mike Place
ab84fd273e
Merge pull request #34637 from cachedout/int_tests_interfaces
...
Int tests interfaces
2016-07-22 15:58:59 -06:00
rallytime
1031f19f3d
Update batch integration tests to not be flaky in Python3
2016-07-22 14:19:15 -06:00
rallytime
109b368d19
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-22 10:32:59 -06:00
Erik Johnson
1ca1367289
Fail git.latest states with uncommitted changes when force_reset=False ( #34869 )
...
* Add git.diff function
* Fail git.latest states with uncommitted changes when force_reset=False
Also, discard these changes when running the state if force_reset=True.
* Add integration test for case where there are uncommitted changes
2016-07-22 09:04:05 -06:00
Mike Place
b4be66dedf
Fix wheel test
...
Fix random ordering bug
2016-07-21 13:54:32 -06:00
Mike Place
d85aca1f7a
Merge branch 'develop' into int_tests_interfaces
2016-07-21 12:26:21 -06:00
rallytime
1a9d6eee15
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/grains/core.py
- salt/state.py
- tests/unit/grains/core_test.py
2016-07-21 12:06:25 -06:00
Erik Johnson
f9cd83e8bb
Add integration test for mode=keep when source is a local path
2016-07-20 22:26:10 -05:00
Erik Johnson
1cd542edb8
Add integration test for mode=keep in file states
2016-07-20 22:08:16 -05:00
twangboy
8f29723160
Fix duplicate import, circular reference
2016-07-20 14:34:58 -07:00
Erik Johnson
e9be937d8f
Fix incorrectly-written test
...
This was testing to confirm incorrect behavior. We should not be having
a leading zero when the setuid/setgid bit is set in the mode.
2016-07-20 15:33:11 -05:00
rallytime
094731f4b6
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-20 12:32:08 -06:00
Mike Place
3342b0c664
Merge remote-tracking branch 'twangboy/int_tests_cachedout' into int_tests_interfaces
2016-07-20 10:25:42 -06:00
Mike Place
ec8a6ebab3
Correct config test errors
2016-07-20 10:00:31 -06:00
Mike Place
03039c13e2
Lint
2016-07-20 10:00:31 -06:00
Mike Place
5f5d7193b0
Add interface to all configs
...
This got removed during the attempt to make the tests run on Windows.
I added them everywhere even though that's not strictly necessary.
Without these set on the master and sub_master, Windows will throw
erorrs because the networking stack will decide that anything that's
bound to 0.0.0.0 represents an extestential threat to any socket that
attempts to *connect* to one of those ports. (For...reasons.)
2016-07-20 10:00:31 -06:00
twangboy
4e56d28993
Add tcp_master settings to both masters
2016-07-20 10:00:31 -06:00
twangboy
3833c008b2
Cleans up config parameters
2016-07-20 10:00:30 -06:00
twangboy
003e60f6c6
Add cachedir for minions and syndic
2016-07-20 10:00:30 -06:00
twangboy
c1ae2537f1
Remove configuration from configs
2016-07-20 10:00:30 -06:00
twangboy
68e5620b92
Check actual minion ports
...
For some reason this fixed the PYTHONPATH issue
2016-07-20 10:00:30 -06:00
twangboy
79b5be6989
Add more descriptive report for interactive mode
2016-07-20 10:00:30 -06:00
twangboy
cfc82f4004
Fix lint
2016-07-20 10:00:30 -06:00
twangboy
54647eb7d8
Fix mem leak caused by pki_dir
2016-07-20 10:00:30 -06:00
twangboy
7f3f15378e
Make additional changes to master configs
2016-07-20 10:00:30 -06:00
twangboy
a33c5c15da
Fix master and sub_minion configs
2016-07-20 10:00:30 -06:00
twangboy
f55ba87bee
Fix configs, remove default values
2016-07-20 10:00:30 -06:00
twangboy
9b14dc0a6e
Add Pedro's suggestions
2016-07-20 10:00:30 -06:00
twangboy
9bc438e302
Fix subminion
2016-07-20 10:00:29 -06:00
twangboy
1805630fdc
Fix integration tests on windows
2016-07-20 10:00:29 -06:00
twangboy
f7fb4985c4
Add Pedro's suggestions
2016-07-20 10:00:29 -06:00
twangboy
785f5470fc
Fix subminion
2016-07-20 10:00:29 -06:00
twangboy
5bcb27e477
Fix integration tests on windows
2016-07-20 10:00:29 -06:00
Justin Anderson
9abb6f91bb
Skip mysql state test if mysqladmin is not available
2016-07-20 09:24:24 -06:00
Mike Place
aff29906fc
Merge pull request #34671 from isbm/isbm-osmajorrelease-grain-suse-devel
...
Add "osmajorrelease" grain
2016-07-20 08:35:34 -06:00
Mike Place
3eb49d35cc
Merge pull request #34786 from rallytime/iteritems-tests-dir
...
Remove all object.iteritems() references from the tests/ directory
2016-07-19 14:57:21 -06:00
twangboy
f960ded780
Gate SIGINT in shutdown routines for Windows
...
SIGINT not available in Windows
2016-07-19 13:48:03 -07:00
twangboy
c5245f6b24
Fix stack trace on Jenkins
2016-07-19 10:04:24 -07:00
rallytime
39bc093ee9
Merge branch '2016.3' into 'develop'
...
No conflicts.
2016-07-19 10:31:07 -06:00
rallytime
c8930339d3
Remove iteritems() references from integration tests
2016-07-19 10:15:23 -06:00
rallytime
3e032dc397
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-19 09:30:45 -06:00