Pedro Algarvio
2c6725d96e
Tell python that we're done with this dictionary
2017-04-28 13:33:37 +01:00
Pedro Algarvio
86536e64c5
Make sure files are closed
2017-04-04 18:58:20 +01:00
Pedro Algarvio
6a638620ba
Move base test case modules to tests.support.case
2017-04-04 18:04:39 +01:00
Pedro Algarvio
b94992f544
Some more RUNTIME_CONFIGS and RUNTIME_VARS fixes
2017-04-04 18:04:38 +01:00
Pedro Algarvio
8031ac0209
Move mixins to tests.support.mixins.
...
The adapted config mixin get config methods are not static methods
2017-04-04 17:29:34 +01:00
Pedro Algarvio
26e60e825c
Allow creating a temporary configuration to be used for a single test
2017-04-01 14:25:55 +01:00
Pedro Algarvio
9a11538b54
Stop using deprecated TestCase methods
2017-04-01 14:22:57 +01:00
Pedro Algarvio
0bf7684b8c
Make the option properties available in the config mixin instead
2017-04-01 14:22:51 +01:00
Pedro Algarvio
c436d9f2f6
This no longer applies.
2017-03-08 18:34:31 +00:00
Pedro Algarvio
40a64191a1
Absolute imports and A LOT of code cleanup.
2017-03-01 01:33:07 +00:00
Pedro Algarvio
3beb3fb801
Move whatever we need from salttesting to salt.
...
Let's drop the salttesting dependency cycle.
2017-02-28 22:52:49 +00:00
Pedro Algarvio
08804932c3
Using pytest start_daemon
2017-02-28 22:52:48 +00:00
Mike Place
a73a5f9c1f
Merge pull request #39646 from terminalmage/zh921
...
Handle deprecation of passing string args to load_args_and_kwargs
2017-02-28 14:59:33 -07:00
Erik Johnson
9f6d08d606
Update tests which used string kwargs
2017-02-25 20:11:06 -06:00
Erik Johnson
503216e5c5
Add warnings to test suite when requisites are not installed
...
Since we have recently changed the test suite to use new-style
git_pillar, GitPython or Pygit2 is a hard dep for the test suite.
Additionally, when starting up the daemons, if no IPv4 addresses can be
detected (which can happen on docker containers which tend to have
minimal installs) then the suite will time out trying to detect whether
or not the minion/sub-minion has connected, which while it does not
prove fatal for the test suite, it does make the suite take several
minutes to start up and begin running tests. This is because the test
suite invokes the manage.joined runner, which in turn invokes
salt.utils.network.ip_addrs() to get the system's IP addresses to match
against those which are connected. If it can't get the IP addresses,
then the manage.joined runner returns an empty list, and the test suite
believes that no minions have connected, and the function that
periodically runs manage.joined will eventually time out.
This commit adds messages to the console when no suitable gitfs provider
is installed, and when salt.utils.network.ip_addrs() returns an empty
list, to hopefully prompt the user to install the missing requisites.
2017-02-25 19:49:44 -06:00
Pedro Algarvio
26b17fb044
Make sure the minion sync's modules/states/grains/etc when starting
2017-02-13 10:18:57 +00:00
Pedro Algarvio
b264114901
Restore full user permissions when failing to delete
2017-02-09 18:06:27 +00:00
twangboy
c704eaa175
Fix geteuid stacktrace on Windows
2017-01-30 15:36:08 -07:00
rallytime
49f57ba3f1
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/utils/win_functions.py
2017-01-25 09:59:29 -07:00
Pablo Suárez Hernández
4311b0b6de
Increasing timeouts for running integrations tests
2017-01-23 16:55:48 +00:00
rallytime
9ad362fbde
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/states/kapacitor.py
2017-01-03 10:17:18 -05:00
twangboy
e96bfe8fa2
Change OSX/OS X to macOS where possible
2016-12-28 14:49:46 -07:00
Mike Place
03e0fd39d1
Merge pull request #37963 from terminalmage/tgt_type
...
Deprecate expr_form argument in the LocalClient
2016-12-02 02:45:16 -07:00
Erik Johnson
94a16ada7b
Replace usage of deprecated expr_form in tests
2016-12-01 16:21:49 -06:00
rallytime
ac8524fb91
[Nitrogen Deprecation] Remove SaltAPI.run() function
...
Also remove reference to SaltAPI.run() call and move to SaltAPI.start()
call instead in integration/__init__.py
2016-11-29 14:18:40 -07:00
Pedro Algarvio
cbcd4ce123
Make terminate_process_pid
match latest form salt-testing.
...
Namely https://github.com/saltstack/salt-testing/commit/094d00784812
2016-11-24 13:19:56 +00:00
rallytime
190ec32283
Merge branch 'carbon' into 'develop'
...
Conflicts:
- doc/topics/cloud/vmware.rst
- salt/cloud/clouds/vmware.py
2016-10-26 10:09:26 -06:00
Mike Place
afd3dc3807
Merge branch '2016.3' into 2016_3_carbon
2016-10-26 14:08:03 +09:00
Ch3LL
394fccf556
fix run_cloud timeout
2016-10-25 13:30:41 -06:00
Justin Findlay
1d503f032c
tests.integration: pass opts as a dict
2016-10-20 14:16:35 -06:00
Mike Place
3179303a5d
Revert "Back-port #36875 to carbon"
2016-10-20 19:49:45 +09:00
Mike Place
430ea9e780
Revert "Fix integration tests launching - remove redundant "config_dir" argument in call to ShellTestCase.run_run from SaltDaemonScriptBase._wait_until_running"
2016-10-20 19:48:59 +09:00
Andrew Pashkin
337119c113
Fix integration tests launching - remove redundant "config_dir" argument in call to ShellTestCase.run_run from SaltDaemonScriptBase._wait_until_running
2016-10-12 13:21:40 -06:00
Andrew Pashkin
304516420c
Fix integration tests launching - remove redundant "config_dir" argument in call to ShellTestCase.run_run from SaltDaemonScriptBase._wait_until_running ( #36875 )
...
* Add Visual Studio Code related directory .vscode/ to .gitignore
* Fix integration tests launching - remove redundant "config_dir" argument in call to ShellTestCase.run_run from SaltDaemonScriptBase._wait_until_running
2016-10-12 13:20:30 -06:00
Mike Place
34007be671
Merge branch 'carbon' into carbon_develop
2016-10-06 00:23:22 +09:00
Mike Place
bd712bb0ff
Fix test suite hanging on shutdown
2016-10-05 17:14:27 +09:00
Mike Place
cdf2a56564
Fix issue where test suite could hang on shutdown
...
This is most common in the develop branch but could occur here as well.
2016-10-03 23:37:05 +09:00
rallytime
c01be1ca80
Merge branch 'carbon' into 'develop'
...
Conflicts:
- salt/states/file.py
2016-09-29 10:09:05 -06:00
Justin Findlay
74c518668b
tests.integration.__init__: except psutil error
...
Related to d0f44c9
.
2016-09-28 15:58:33 -06:00
Mike Place
d9672cd206
Merge pull request #36399 from cachedout/test_shutdown2
...
Test shutdown
2016-09-28 17:53:43 +09:00
Mike Place
487aae25b5
Lint
2016-09-20 12:50:39 -06:00
Mike Place
9d2eab47c1
Try/except psutil process access in OSX
...
Refs https://github.com/saltstack/qa/issues/244
2016-09-20 12:50:39 -06:00
Mike Place
6c1b3f5af4
Lint
2016-09-20 15:40:00 +09:00
Mike Place
d0f44c95f5
Try/except psutil process access in OSX
...
Refs https://github.com/saltstack/qa/issues/244
2016-09-20 14:35:25 +09:00
Mike Place
6cced56ad3
Lint
2016-09-19 19:08:58 +09:00
Mike Place
db8bef4261
Join in eventassert
2016-09-19 19:02:07 +09:00
Mike Place
d5656e030a
Fast test shutdown
2016-09-19 18:59:03 +09:00
Justin Anderson
b2a1779383
Close open socket on freebsd
2016-09-15 15:37:00 -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
Nicole Thomas
e7e1330d02
Merge pull request #36075 from rallytime/merge-develop
...
[develop] Merge forward from carbon to develop
2016-09-06 13:46:33 -06:00