Nicole Thomas
3bac9717f4
Merge pull request #46769 from dwoz/wincloudtest
...
Adding windows minion tests for salt cloud
2018-04-02 14:51:48 -04:00
Erik Johnson
bbfd35d3ea
Replace flaky SPM man test
...
This replaces a test that has been intermittently failing, and also
expands it to check for _all_ man pages.
2018-03-29 12:19:41 -05:00
Daniel A. Wozniak
ba5f11476c
Adding windows minion tests for salt cloud
2018-03-28 15:16:54 -07:00
Erik Johnson
6502b6b4ff
Make busybox image builder work with newer busybox releases
2018-03-27 10:55:52 -05:00
Gareth J. Greenaway
152c43c843
Accounting for a case when multiple onfails are used along with requires. Previously if you have multiple states using 'onfail' and two of those states using a 'require' against the first one state, the last two will run even if the 'onfail' isn't met because the 'require' is met because the first state returns true even though it didn't excute. This change adds an additional hidden variable that is used when checking requisities to determine if the state actually ran.
2018-03-15 17:45:42 -07:00
Nicole Thomas
22d753364b
Merge pull request #46337 from gtmanfred/2017.7
...
Fix using names with listen and listen_in
2018-03-12 14:49:59 -04:00
Daniel Wallace
d6d9e36359
add tests for names and listen/listen_in
...
Closes #30115
2018-03-05 12:15:23 -07:00
Nicole Thomas
88b5f7383d
Merge pull request #46242 from redbaron4/fix-46127
...
Pass env_vars to pip.freeze
2018-03-05 09:53:12 -05:00
Ch3LL
d4893eab4c
Add username/password to profitbricks conf for cloud tests
2018-02-28 17:09:28 -05:00
Dheeraj Gupta
08d1ee8baf
Fix Python3 test errors
2018-02-28 16:44:29 +05:30
Dheeraj Gupta
aa9d709015
Pass env_vars to pip.freeze
...
pip.installed state calls pip.freeze to check for existing installation
and to verify installation post-install. This patch propagates the
env_vars passed to pip.installed to the pip.freeze function. It also modifies
existing pip unit tests to test new functionality and adds an integration test
that verifies the expected correct behavior
Fixes #46127
2018-02-28 16:44:20 +05:30
Nicole Thomas
007214f7bf
Merge pull request #45908 from DimensionDataResearch/fix/issue/45884
...
Fix for #45884 ("TypeError: can't serialize <NodeImage" when calling salt-cloud with the dimensiondata driver)
2018-02-12 17:05:28 -05:00
Adam Friedman
a2bc155c73
Use __utils__['cloud.'] instead of salt.cloud.utils.
...
saltstack/salt#45884
2018-02-08 08:39:33 +11:00
Adam Friedman
6b1b6be427
Add integration tests for dimensiondata cloud provider.
...
saltstack/salt#45884
2018-02-08 08:38:58 +11:00
Erik Johnson
9d200efc26
Add regression test for issue 45893
2018-02-07 14:32:59 -06:00
Erik Johnson
629e6c9674
Further fixes to for salt-ssh test under heavy load
...
This makes some further tweaks to make the test more stable under heavy
load. Firstly, the background job sleeps longer, and secondly, we make
up to 3 attempts run state.running instead of just the one, in case our
first attempt was too early. It also uses threading to make the job
sleep, since the method of adding a & to the command seemed to be
producing intermittent failures with returning clean JSON.
2018-01-22 07:33:42 -05:00
twangboy
0356b3d56f
Backport changes from #45308
2018-01-11 15:36:38 -05:00
Erik Johnson
3565bc2bf2
Don't use include-test SLS in orch tests
...
This was the _actual_ cause of the failing test in the state module
integration tests.
2018-01-10 10:29:15 -05:00
Erik Johnson
8bc17e0d7a
Fix integration.modules.test_state.StateModuleTest.test_exclude
...
test_exclude shares file paths with test_include, and while I can't
reproduce the failures, it is likely that improperly cleaned-up files
from test_include are causing the failures in test_exclude. This is
backed up by the fact that the state.sls return data from the
salt-runtests.log shows no trace of the "to-include-test" file
(suggesting it was excluded as expected), yet os.path.isfile() returns
True for this path, causing the test to fail.
This commit uses a distinct base dir for both tests, which should keep
this sort of failure from happening.
2018-01-10 10:29:15 -05:00
Nicole Thomas
8d04c2b3d4
Merge pull request #44856 from Ch3LL/running_test
...
Add state.running ssh integration test
2018-01-08 16:40:49 -05:00
rallytime
a3d251b2cd
Merge branch '2016.11' into '2017.7'
2018-01-02 15:21:58 -05:00
Daniel Wallace
2d0a9bbf7e
enable UsePAM for ssh tests
2018-01-02 12:29:43 -05:00
rallytime
a26d4795bd
[2017.7] Fix docstring integration test failure
2017-12-28 10:59:16 -05:00
rallytime
fe81e2d39a
Merge branch '2016.11' into '2017.7'
...
No conflicts.
2017-12-20 10:26:10 -05:00
Erik Johnson
80b6bd6813
Fix integration.states.test_pip.PipStateTest.test_pip_installed_weird_install
...
Carbon 1.1.1 for some reason added six to their setup.py, which breaks
this test since it's not installed into the virtualenv. This PR forces
this test to use a version of carbon which does not dep on six in its
setup.py.
2017-12-20 06:54:30 -05:00
Ch3LL
aeb5f4e248
Add state.running ssh integration test
2017-12-06 13:23:55 -05:00
Nicole Thomas
97ec0e6ea0
Merge branch '2017.7' into ssh_pillar_items
2017-11-29 09:39:38 -05:00
Ch3LL
c7f5af1274
Add pillar ssh integration tests
2017-11-28 12:19:41 -05:00
Nicole Thomas
f6a72acfe3
Merge branch '2017.7' into mine_ssh
2017-11-27 17:01:51 -05:00
Nicole Thomas
f2f6817e86
Merge pull request #44608 from Ch3LL/ssh_jinja
...
Add jinja to ssh sls test file
2017-11-27 17:00:27 -05:00
Ch3LL
f90b4f7653
Add salt-ssh mine.get integration test
2017-11-27 16:38:19 -05:00
Nicole Thomas
5ec7ea0bb5
Merge pull request #44572 from Ch3LL/watchin_test
...
Add watch_in integration test
2017-11-27 15:52:31 -05:00
Nicole Thomas
df669b551d
Merge branch '2017.7' into ssh_jinja
2017-11-22 11:20:01 -05:00
Ch3LL
c9ba33432e
Add Non Base Environement salt:// source integration test
2017-11-20 16:53:56 -05:00
Ch3LL
ca97517795
Add jinja to ssh sls test file
2017-11-20 12:26:09 -05:00
Ch3LL
5f2b4f434e
Add watch_in integration test
2017-11-16 12:18:30 -05:00
Nicole Thomas
5b95495e75
Merge pull request #44484 from Ch3LL/orch_test
...
Add orchestration tests when target exists or not
2017-11-10 12:24:21 -07:00
Ch3LL
f3ec6df76e
Add orchestration tests when target exists or not
2017-11-10 12:00:12 -05:00
Ch3LL
faef0886a7
Add state tests and state request system to salt-ssh
2017-11-10 10:48:30 -05:00
Daniel Wallace
f84b50a06b
results and columns are lists for mysql returns
2017-09-19 15:08:17 -06:00
rallytime
84829a6f8c
Merge branch '2016.11' into '2017.7'
...
Conflicts:
- salt/modules/jenkins.py
- salt/states/jenkins.py
2017-08-18 09:13:54 -04:00
Dmitry Kuzmenko
9fedf6012e
Fixed 'test_valid_docs' test.
2017-08-14 10:54:16 +03:00
rallytime
c673b64583
Merge branch '2016.11' into '2017.7'
...
Conflicts:
- doc/conf.py
- doc/ref/configuration/master.rst
- doc/ref/configuration/minion.rst
- salt/engines/hipchat.py
- salt/engines/slack.py
- salt/grains/core.py
- salt/version.py
- tests/integration/states/test_renderers.py
2017-07-20 09:54:08 -06:00
Pablo Suárez Hernández
915d94219e
Allow to check whether a function is available on the AliasesLoader wrapper
2017-07-18 12:57:36 +01:00
Gareth J. Greenaway
a34970b45b
Back porting the fix for 2017.7 that ensures the order of the names parameter.
2017-07-06 12:12:50 -07:00
Erik Johnson
d15f7ded82
Add integration test for 42116
2017-07-05 11:07:38 -05:00
Erik Johnson
9a268949e3
Add integration test for 42116
2017-07-05 00:48:50 -05:00
Ch3LL
73271ce94d
Add vmware test to check new disk on seperate datastore
2017-06-23 18:36:50 -04:00
Dmitry Kuzmenko
dd4273e268
Temporary POC: disable runtests log handler for Py3 tests.
2017-06-19 22:26:06 +03:00
Erik Johnson
5c970d81e5
Fix runtests_helpers.modules_available when multiple modules passed
...
tests.support.helpers passes the single-asterisk tuple of args as
individual arguments to runtest_helpers.modules_available. This breaks
tests which pass more than one argument to the requires_salt_modules
decorator.
This has been fixed by making runtests_helpers.modules_available accept
an arbitrary number of args via using a single-asterisk.
2017-06-14 13:16:30 -05:00