Erik Johnson
322047a844
Add integration tests for fileserver.clear_file_list_cache
2016-09-12 16:29:10 -05:00
Mike Place
1eb67df61e
Merge pull request #36198 from gtmanfred/carbon
...
add keystone state integration tests
2016-09-11 18:16:38 +09:00
Mike Place
7d25344574
Merge pull request #36194 from jfindlay/mac_timezone
...
skip some mac_timezone tests
2016-09-10 09:07:07 +09:00
Daniel Wallace
1c31d5e464
add keystone state integration tests
...
fix api_version for using connection_args
2016-09-09 17:14:44 -05:00
twangboy
075ceb09ab
Fix test_latest_version test
2016-09-09 14:14:51 -06:00
Megan Wilhite
393bbef63b
Add test 35015 ( #35945 )
...
* add salt-key eauth tests
* add salt-run with eauth tests
* add method docs
* change expected return
2016-09-09 12:58:50 -06:00
Justin Findlay
eaada10e89
skip some mac_timezone tests
2016-09-09 12:34:24 -06:00
rallytime
3ed6190ece
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/minion.py
2016-09-09 09:36:57 -06:00
Mike Place
1d5f97d36b
Merge pull request #35907 from rallytime/fix-35819
...
Catch CommandExecutionError when the group in group_installed doesn't exist
2016-09-09 19:14:16 +09:00
Thomas S Hatch
93d8a83271
Merge pull request #36086 from twangboy/mac_power_tests
...
Fix tests for mac_power module on various systems.
2016-09-08 14:52:37 -06:00
Thomas S Hatch
736903222a
Merge pull request #36122 from twangboy/mac_system_tests
...
Fix test not starting, skip broken functions
2016-09-08 14:42:48 -06:00
Nicole Thomas
0e8e66877a
Back-port #36067 to carbon ( #36159 )
...
* Fix signal handling
We had a little mix-up with the args ordering for our signal handling.
This sends the proper signal to processes on cleanup.
I have also temporarily disabled the pytest engines because they were
causing the minions to try to to connect to a master IPC socket which could not be found.
This put the minions into a continual futex state which was not playing well with kill sigs.
* Lint
2016-09-08 13:03:12 -06:00
David Boucha
64a576fc6e
add windows core grain test
2016-09-07 21:22:24 -06:00
Mike Place
eac9935b58
Merge pull request #36044 from Ch3LL/add_test_state_event
...
add salt-run state.event test
2016-09-08 10:23:49 +09:00
twangboy
b4112247a4
Fix test not starting, skip broken functions
2016-09-07 12:01:38 -06:00
rallytime
40d0def479
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/states/archive.py
2016-09-07 10:11:36 -06:00
Ch3LL
ee398a94b6
fix pylint
2016-09-07 10:05:44 -06:00
plastikos
dde85e1144
Various fixes for MacOS X ( #36085 )
...
* Change "unknown" user to "some_unknown_user_xyz" since "unknown"
*is* a valid user
* Add timeout to proxy test_exit_status_no_proxyid() since a known
failure case is to infinitely loop with an error.
* Always force the source code tree under test to be the first entry
in PYTHONPATH (excluding verbatim_env)
2016-09-06 16:30:08 -06:00
Ch3LL
4afc82ac63
add salt-run state.event test
2016-09-06 15:16:16 -06:00
Thomas S Hatch
40081176af
Merge pull request #34529 from Ch3LL/add_skip_verify_archive
...
Add skip_verify for archive.extracted
2016-09-06 15:05:31 -06:00
twangboy
9e0f45785a
Fix some lint
2016-09-06 15:02:02 -06:00
twangboy
ca414e01de
Fix capitalization error in setUp and tearDown
2016-09-06 15:02:02 -06:00
twangboy
af3f70d877
Seperate sleep on power button test
2016-09-06 15:02:02 -06:00
twangboy
c2b42f69c1
Move test available into their own classes
2016-09-06 15:02:02 -06:00
twangboy
efb425781f
Fix lint errors
2016-09-06 15:02:02 -06:00
twangboy
35dd0619cb
Check string type
2016-09-06 15:02:02 -06:00
twangboy
701031ff40
Fix sleep_on_power test
2016-09-06 15:02:02 -06:00
twangboy
5e19d4664a
Check the availablity of individual tests
2016-09-06 15:02:02 -06:00
twangboy
d0d36bb874
Fix syntax error (lint)
2016-09-06 15:02:02 -06:00
twangboy
9be71e5a5d
Check for Desktop, fix some functions
2016-09-06 15:02:02 -06:00
Erik Johnson
9ae753f6ed
Use self.run_run instead of self.run_run_plus
...
Using a salt.runner.Runner() instance to run this test has exposed a
problem with run_run_plus, where the fileclient doesn't behave as
expected. Since the raw return data is not needed, using run_run here
lets the test pass while we continue to work on run_run_plus.
2016-09-03 14:59:04 -05:00
Erik Johnson
ab9a89d6dc
Add test for jid in runner ret events (zh 858)
2016-09-03 14:59:04 -05:00
Erik Johnson
92d6d4ab75
Fix incorrect key for return data
...
The return data from run_run_plus previously returned the runner return
in the ``fun`` key. This has since been corrected. This commit replaces
these references to the ``fun`` key with the corrected ``return`` key.
2016-09-03 14:59:04 -05:00
Erik Johnson
5673395f0c
Update usage of run_run_plus to remove unused "options" argument
2016-09-03 14:59:04 -05:00
Erik Johnson
d4059a0d79
Update the run_run_plus docstring
2016-09-03 14:59:04 -05:00
Erik Johnson
74d5f3aa51
Remove unused argument
2016-09-03 14:59:04 -05:00
Erik Johnson
a4e96cfb7a
Don't execute the runner twice in run_run_plus
...
Instead, compile output by executing salt.output.display_output() on the
return data obtained from executing the runner via the Python API.
2016-09-03 14:59:04 -05:00
Erik Johnson
f41db032a2
Add ability to reload client_config to run_run_plus
...
This allows one to pass a kwarg to run_run_plus called
``__reload_config`` which will be passed as the ``from_scratch``
argument to self.get_config(). This allows self.run_run_plus() to force
a reload of the master config for integration tests which require the
config to be reloaded, for instance, from master.d/*.conf.
2016-09-03 14:59:04 -05:00
Erik Johnson
230c684d4c
Add test case for runner returns
2016-09-03 14:59:04 -05:00
Erik Johnson
070e5f3c48
Fix typo, add return and jid to run_run_plus
...
Also make kwargs work (they were being ignored)
2016-09-03 14:59:03 -05: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
Justin Anderson
9f7994ea40
Suse user state test fix ( #36009 )
2016-09-01 16:28:13 -06:00
Justin Anderson
e6b4dd651e
Suse Useradd test fix ( #36007 )
2016-09-01 15:57:03 -06:00
Heghedus Razvan
1a38cc340c
shadow: test set&delete password for root ( #35929 )
...
Signed-off-by: Heghedus Razvan <razvan.heghedus@ni.com>
2016-09-01 11:25:44 -06:00
Megan Wilhite
8f7df39181
add onfail multiple test ( #35968 )
2016-08-31 20:40:36 -06:00
Nicole Thomas
5d5fdf973b
Pylint fix for #35930 ( #35950 )
2016-08-31 13:26:14 -06:00
Heghedus Razvan
bf6e1fa097
Add integration test for groupadd module ( #35930 )
...
Signed-off-by: Heghedus Razvan <razvan.heghedus@ni.com>
2016-08-31 13:21:07 -06:00
Pedro Algarvio
f842ddd525
OSX testsuite fixes ( #35948 )
...
* OSX is a bit more restrictive on getting the process information
* OSX says the sockets aren't connected, which is weird, but...
* Close the sockets on OSX
2016-08-31 13:09:51 -06:00