rallytime
4100e2b6a6
Merge branch 'nitrogen' into 'develop'
...
No conflicts.
2017-05-10 15:32:33 -06:00
rallytime
23ee513397
Pylint: Add extra line above function declaration
2017-05-10 11:32:41 -06:00
Erik Johnson
018ec5fff9
Make git version checks into decorators
...
Also fix a bug in one test where edits to a file are made in the current
working directory and not the git repo being used for the test.
2017-05-10 10:40:12 -05:00
rallytime
317b5e39bd
Add git_opts flag to _check_git_version helper funciton
...
We only need to skip the tests with git versions < 1.7.2 when
the test uses the git_opts option.
2017-05-09 13:52:47 -06:00
rallytime
4019db15fb
Skip git state tests when using the "git_opts" option
...
And also add some gates for if the git version is too low in general.
This fixes the test failures on CentOS 6 currently in the nitrogen branch.
2017-05-09 13:46:24 -06:00
rallytime
01a012bbdf
Merge branch 'nitrogen' into 'develop'
...
No conflicts.
2017-05-05 10:12:18 -06:00
rallytime
c91bb18298
Merge branch '2016.11' into 'nitrogen'
...
Conflicts:
- doc/ref/configuration/master.rst
- salt/modules/pip.py
- salt/states/saltmod.py
2017-05-04 11:49:33 -06:00
Nicole Thomas
c13f0dc2a8
Revert "Updated ssh fingerprint hash-type default to sah256 for Nitrogen and remove md5 warnings"
2017-05-03 16:49:39 -06:00
Erik Johnson
ee493bae47
Update package targets for Arch pkg tests
...
Something else is installing pytz (likely via pip), causing filesystem
conflicts when the pkg integration tests try to install python2-pytz as
a dep of python2-django.
This commit also changes a bunch of the other tests so that they are
explicitly skipped instead of just being no-ops in cases where they are
not configured to be run. This provides more accurate information in the
overall test results.
2017-05-03 17:02:32 -05:00
Mike Place
3626258f50
Merge pull request #40899 from rallytime/remove-md5-warning
...
Updated ssh fingerprint hash-type default to sah256 for Nitrogen and remove md5 warnings
2017-05-03 10:55:26 -06:00
rallytime
bed524a731
Update test hash to be sha256 instead of md5
2017-05-02 16:20:06 -06:00
rallytime
ecb962cdee
Merge branch 'nitrogen' into 'develop'
...
Conflicts:
- salt/runners/saltutil.py
2017-05-02 09:00:22 -06:00
Mike Place
f766c97e26
Merge pull request #40777 from terminalmage/issue39349
...
Add git_pillar integration tests
2017-05-01 13:51:19 -06:00
rallytime
f875ee3309
Merge branch 'nitrogen' into 'develop'
...
Conflicts:
- tests/integration/runners/test_runner_returns.py
2017-04-28 09:26:26 -06:00
Pedro Algarvio
4062bd9fd9
Don't attempt connections at the module level!
2017-04-28 13:33:32 +01:00
Daniel Wallace
eb24f5381a
fix pylint
2017-04-25 15:26:12 -06:00
Daniel Wallace
f3825d3f5e
skip tests if kazoo is not installed
2017-04-25 12:20:35 -06:00
Daniel Wallace
0ee3ecf464
Add tests for Zookeeper states
2017-04-24 18:01:16 -06:00
Erik Johnson
3881b6e0f3
Prepare git_pillar test code for adding HTTP tests
...
This further abstracts some of the setup and teardown code so it can be
used for git-over-http tests.
It also moves the code that was originally added to the archive
state integration tests to create a local http server into
salt.support.helpers so that it can be more easily and portably used.
2017-04-24 11:00:39 -05:00
Mike Place
6da806d1cc
Merge pull request #39850 from epcim/pr_fix_keystone_endpoints_multiregion
...
Fix endpoint handling per region
2017-04-23 04:00:00 -06:00
Petr Michalec
ab1dd446e7
Endpoint handling per region, fixes #35874
...
- extend tests for multiple regions
- region arg by default set to None
- print verbose changes to be exec.
2017-04-21 15:48:52 +02:00
Erik Johnson
7cef07b0d9
Remove legacy git_pillar tests
...
Also remove git_pillar configuration from the test suite's master
configuration file.
2017-04-20 03:51:08 -05:00
Mike Place
69058ae67a
Add flaky decorator to pkg tests
2017-04-06 12:22:40 -06:00
Pedro Algarvio
de5fdc6ba8
Purge the account
2017-04-05 00:51:35 +01:00
Pedro Algarvio
cd1f7ba629
Let's use the system temp dir as it was to see if it fixes the test failure
2017-04-05 00:34:39 +01:00
Pedro Algarvio
7b713d9256
Use the more portable helper skip_if_not_root
.
2017-04-04 18:58:21 +01:00
Pedro Algarvio
61003bca0a
Take care of resource leakage on tests
2017-04-04 18:58:20 +01:00
Pedro Algarvio
2ee6d5d589
Import from the original modules not tests.integration
2017-04-04 18:58:19 +01:00
Pedro Algarvio
785698d2ce
Import for the original module
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
5950c1dd53
Minor logic fix
2017-04-01 14:22:55 +01:00
Nicole Thomas
d0182ac3ef
Merge pull request #40375 from terminalmage/pr-39838
...
Cleanup and resubmit of PR #39838 against develop branch
2017-03-29 10:34:43 -06:00
rallytime
4fbe9f18b8
Use "self.archive_tar_source" instead of undefined ARCHIVE_TAR_SOURCE global
2017-03-29 09:11:46 -06:00
rallytime
52edbffc85
Merge branch '2016.11' into 'develop'
...
Conflicts:
- doc/ref/cache/all/index.rst
- doc/topics/cache/index.rst
- salt/cache/localfs.py
- salt/modules/boto_rds.py
- salt/roster/cloud.py
- salt/states/virtualenv_mod.py
- tests/integration/states/test_archive.py
- tests/unit/modules/test_dockermod.py
- tests/unit/states/dockerng_test.py
2017-03-28 17:09:30 -06:00
Narendra Ingale
4ac73bb55c
Added test for issue 39191.
2017-03-28 14:55:05 -05:00
Ch3LL
8b21b4c8bb
add use_cmd_unzip test
2017-03-27 10:32:27 -06:00
Erik Johnson
5ad476936d
Overhaul Docker support
...
This does the following:
- Splits states for container/volume/image/network management into four
separate state modules.
- Preserves backward compatibility by making ``docker.image_present``
invoke ``docker_image.present``, etc.
- Changes how Salt detects that a container needs to be replaced.
Instead of comparing each passed argument to the named container's
configuration, it creates a temporary container, and compares that
container to the named container. If the two differ, then the older
container is removed, and the new one is renamed and started, becoming
the named container.
- Removes the unit tests for container management and replaces them with
integration tests.
- Adds unit tests for the new salt.utils.docker
2017-03-21 16:53:19 -05:00
rallytime
a6a7538fe4
Pylint fix
2017-03-21 13:39:34 -06:00
rallytime
2222e1cae9
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/modules/napalm_network.py
- tests/integration/states/test_archive.py
- tests/integration/states/test_file.py
- tests/unit/modules/test_docker.py
2017-03-21 10:19:52 -06:00
rallytime
dd193cc740
Make sure the tornado web server is stopped at the end of the test class
...
The tornado web aplication that was set up in the archive tests, and then
duplicated in the remote file integration tests, starts the web server,
but never stops it. This creates a stacktrace that hangs the other test
file that attempts to start the web server.
The Application class has a `listen()` function, but not a `stop()` function.
The change uses the `HTTPServer` class to set up the listening server, but
also has the necessary `stop()` function. (The `listen()` function from the
`Application` class just calls out to the `HTTPServer`'s `listen()` function,
so this works nicely here.)
We can then call the `stop()` function in the `tearDownClass` class method.
I also removed some duplicate STATE_DIR definitions.
2017-03-20 13:08:17 -06:00
Erik Johnson
5b71db29d5
Use user.present/absent states to manage user in virtualenv test
2017-03-15 17:18:25 -05:00
Erik Johnson
eb09901f36
Simplify the user state integration tests
...
Put the skipIf and the destructiveTest decorators on the class instead
of each function. Also added a user.absent to the tearDown to reduce
code duplication.
2017-03-15 17:16:34 -05:00
Erik Johnson
66596c6d75
Fail test if sudo is missing
2017-03-15 17:15:56 -05:00
Erik Johnson
9b3890b5f2
Fix network test for cases where no network settings are configured
...
This allows the test to pass inside a docker container where the
networking is managed by docker and not by the OS' network mangagment
daemon.
2017-03-15 17:14:29 -05:00
Erik Johnson
ef110baa99
Update git state integration tests for PY3 compatibility
...
Python 3 didn't like some of the stuff that we were doing with
``subprocess.check_call()`` in these tests, so to fix this I have redone
that stuff with calls to functions in the git execution module. In order
to avoid problems with running tests with no global gitconfig, I needed
to add an argument called ``git_opts`` to most of the funcs in the git
execution module (well I didn't *need* to do it to most of the funcs, it
just seemed like we shouldn't only be supporting this argument in a
single function).
This new ``git_opts`` argument is specifically for passing arguments to
the git command itself (not the subcommand). For example, ``git -c
user.name="Foo Bar" commit .....`` is different than running ``git
commit -c user.name="Foo Bar" .....``, because the ``commit`` subcommand
for git also accepts ``-c``.
2017-03-14 18:07:06 -05:00
Pedro Algarvio
410b583a63
The port attribute definition must come first
2017-03-12 18:05:30 +00:00
Pedro Algarvio
992a8c7294
Don't hardcode the webserver port number
2017-03-11 16:00:28 +00:00
Nicole Thomas
2f0f7cd224
Merge pull request #39897 from rallytime/merge-develop
...
[develop] Merge forward from 2016.11 to develop
2017-03-09 09:03:46 -07:00
Pedro Algarvio
51c5558b32
This should no longer hang
2017-03-08 20:43:36 +00:00
Pedro Algarvio
0b41b92d7d
Use salt.utils.versions
instead of distutils.version
2017-03-08 19:22:33 +00:00
Pedro Algarvio
7fffd93b50
Don't pollute the repo tests state tree
2017-03-08 18:34:33 +00:00
Pedro Algarvio
b391a4eb5b
Supervisord does not work under Python 3
2017-03-08 18:34:33 +00:00
Pedro Algarvio
e2e303e724
Minor changes to paths
2017-03-08 18:34:32 +00:00
Pedro Algarvio
712b81e0c1
supervisor
does not run against py3. Use pep8
for the tests.
2017-03-08 18:34:32 +00:00
Pedro Algarvio
07d0a5ed20
Cleanup after ourselves
2017-03-08 18:34:32 +00:00
rallytime
4fc9b5484b
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/client/ssh/__init__.py
- salt/pillar/makostack.py
- tests/integration/client/test_runner.py
- tests/integration/states/test_file.py
2017-03-08 09:04:26 -07:00
Pedro Algarvio
adacf4cc28
Don't expect any ordering from sets!!!!!
2017-03-03 18:31:11 +00:00
Pedro Algarvio
e180f1e913
Normalize the mode
2017-03-03 15:15:13 +00:00
Pedro Algarvio
5b5a6ebbe8
Minor code cleanup
2017-03-02 19:58:10 +00:00
Pedro Algarvio
5e3309d5f8
Let's use the skip_if_not_root decorator instead
2017-03-02 19:58:10 +00:00
Pedro Algarvio
2f3d0b0b81
These are not destructive tests
2017-03-02 19:58:10 +00:00
Pedro Algarvio
80002276c2
These tests are not destructive
2017-03-02 19:58:10 +00:00
Erik Johnson
64db0b8563
Add integration tests for remote file sources
2017-03-01 10:57:06 -06:00
Pedro Algarvio
a78c037a5f
PyLint, no its not a repeated keyword!
2017-03-01 01:33:08 +00:00
Pedro Algarvio
4f425e596b
Don't assert, just fail
2017-03-01 01:33:08 +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
rallytime
b4366103a6
Merge branch '2016.11' into 'develop'
...
Conflicts:
- .pylintrc
- .testing.pylintrc
- salt/fileclient.py
- salt/minion.py
- salt/modules/docker.py
- salt/modules/win_iis.py
- salt/states/docker.py
- salt/states/file.py
- salt/utils/__init__.py
- tests/integration/modules/test_sysmod.py
2017-02-27 15:11:37 -07:00
Pedro Algarvio
15af4c9728
Test filenames conformity. Adjust for pytest.
2017-02-23 23:19:42 +00:00
Erik Johnson
cbdf905b9f
Update test to reflect new state comment
2017-02-23 11:21:33 -06:00
Pedro Algarvio
0b3071ee3a
.iter<items|keys|values>()
Py3 compatibility
2017-02-22 10:20:26 +00:00
Pedro Algarvio
005f21d3b5
Compare against the normalized mode string
2017-02-13 10:18:58 +00:00
Pedro Algarvio
c1b5606199
Handle bytes vs strings on the file state module tests
2017-02-13 10:18:57 +00:00
Pedro Algarvio
7b7133ea25
This test case requires root permissions
2017-02-13 10:18:56 +00:00
Erik Johnson
da7d3ecec0
Add integration test for wildcard versions
2017-02-07 08:54:26 -06:00
Erik Johnson
9de08af950
Apply fix from #38705 to 2016.3 branch ( #39077 )
...
* Apply fix from #38705 to 2016.3 branch
This is a better fix and covers more use cases than the sudo_user one.
* Remove saltenv param from internal state func call
This was probably redundant in the first place, but since state.sls,
state.highstate, etc. accept a saltenv param and the actual state
functions do not, this results in multiple values passed for the saltenv
param.
Remove this argument and let file.get_managed reference __env__
internally.
* Update archive tests to match 2016.11 branch
2017-02-03 09:35:49 -07:00
rallytime
43dba1bf78
Skip new managed file state test on Windows
2017-01-30 13:40:25 -07:00
rallytime
8e17c96e02
Write failing test for Issue #38111
...
Test calls "file.managed" using the "check_cmd" kwarg with the
state provided as a reproducible test case for the issue.
2017-01-27 11:28:54 -07:00
rallytime
3f74d697b9
Merge branch '2016.11' into 'develop'
...
Conflicts:
- pkg/windows/build_pkg.bat
- salt/modules/archive.py
2017-01-20 12:07:19 -07:00
Megan Wilhite
a8a6215663
refine the os detection in archive test ( #38807 )
2017-01-18 11:03:55 -07:00
Eric Radman
fa3648c576
Respect follow_symlinks when run with test=True
...
Previously file.directory correctly sets the permissions of the target
of a symlink, but it did not return the correct result during a dry run.
This change plumbs the follow_symlinks parameter to test-only functions.
2017-01-16 03:04:50 -05:00
rallytime
05ec9f4b5b
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/netapi/rest_cherrypy/app.py
2016-12-15 20:47:35 -07:00
Erik Johnson
6442f8a7b5
Add tests for --strip/--strip-components
...
Also add a test for an unspecified archive_format, as this did not have
a test case.
2016-12-14 21:57:14 -06:00
rallytime
29f45c192c
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/cloud/clouds/ec2.py
- salt/modules/grains.py
2016-12-12 11:23:57 -07:00
rallytime
609f814454
Reset socket default timeout to None (fixes daemons_tests failures)
...
Also removed skipIf logic when on Python 2.6. This fix resolves the
same test failures on 2.6 as well as Ubuntu 12 (which is apparently
running Pyhton 2.7 on our test images from Linode these days).
2016-12-09 13:50:48 -07:00
Nicole Thomas
fc95045ba1
Reset socket default timeout to None (fixes daemons_tests failures) ( #38181 )
...
Also removed skipIf logic when on Python 2.6. This fix resolves the
same test failures on 2.6 as well as Ubuntu 12 (which is apparently
running Pyhton 2.7 on our test images from Linode these days).
2016-12-09 13:49:44 -07:00
rallytime
4998b8d116
Merge branch '2016.11' into 'develop'
...
Conflicts:
- doc/ref/configuration/master.rst
- doc/ref/peer.rst
- doc/topics/reactor/index.rst
2016-12-07 16:31:11 -07:00
rallytime
fec9dec23a
Merge branch '2016.3' into '2016.11'
...
Conflicts:
- salt/modules/win_pkg.py
- tests/unit/daemons_test.py
- tests/unit/states/file_test.py
2016-12-06 16:23:51 -07:00
rallytime
9b2bbe77ef
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/modules/archive.py
- salt/netapi/rest_tornado/saltnado.py
2016-12-06 10:03:10 -07:00
rallytime
f2c045520d
Write an integration test demonstrating the issue
2016-12-01 16:52:03 -07:00
Mike Place
1e3bb2e12a
Newline for lint
2016-11-30 13:22:53 -07:00
Erik Johnson
23bb90a7ce
Add integration test for archive.extracted with user/group set to root
2016-11-30 13:11:41 -06:00
Ch3LL
8c9e9de335
change name
2016-11-30 10:27:37 -07:00
Ch3LL
1d52c18316
add init_delay option for service.dead state module
2016-11-30 10:22:05 -07:00
rallytime
6479a22c1d
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/modules/napalm_network.py
2016-11-18 07:50:16 -07:00
Mike Place
f3496297a6
Don't check archive if the archive can't be found ( #37723 )
...
Fixes possible false postive failure in archive test
2016-11-16 09:23:39 -07:00
Mike Place
bc65697502
Require network for npm tests
2016-11-15 12:45:17 +13:00
rallytime
1b5f89577e
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/cloud/clouds/vmware.py
2016-11-14 09:19:49 -07:00
rallytime
4c245a3fa5
Merge branch '2016.3' into '2016.11'
...
Conflicts:
- salt/modules/x509.py
2016-11-10 16:51:52 -07:00
rallytime
7b2341bbfd
Merge branch '2016.11' into 'develop'
...
Conflicts:
- doc/topics/releases/releasecandidate.rst
- salt/modules/file.py
- salt/states/file.py
- salt/utils/network.py
2016-11-10 15:59:51 -07:00
Erik Johnson
2810b85cac
Add a test to ensure we don't check for fast-forward before fetching ( #37571 )
2016-11-09 12:43:25 -07:00
rallytime
9b3e4414c8
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- pkg/windows/modules/get-settings.psm1
- salt/modules/mac_power.py
- salt/modules/win_dsc.py
- salt/modules/win_servermanager.py
- salt/states/file.py
- salt/utils/event.py
- salt/utils/gitfs.py
2016-11-04 15:23:49 -06:00
Mike Place
580eca709b
Merge pull request #37121 from nevins-b/2016.3
...
allow the file.recurse state to support saltenv
2016-11-04 18:59:28 +13:00
rallytime
70851807bd
Merge branch 'carbon' into 'develop'
...
Conflicts:
- salt/modules/status.py
2016-10-24 09:35:00 -06:00
rallytime
caa8fc9169
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- pkg/deb/salt-api.service
- pkg/deb/salt-master.service
- salt/client/__init__.py
- salt/fileclient.py
- salt/modules/cp.py
- salt/modules/status.py
- tests/integration/__init__.py
- tests/integration/modules/cp.py
2016-10-21 15:50:03 -06:00
Nevins Bartolomeo
bc4b0e7cda
adding test for saltenv in file.recurse source url
2016-10-21 08:44:58 -04:00
twangboy
f1c8d98119
Skip weird_install test on Mac OS X
2016-10-20 11:05:34 -06:00
twangboy
90de794290
Fix test_issue_6833_pip_upgrade_pip test on OSX
2016-10-20 11:05:28 -06:00
Mike Place
71e35d3c82
Check for a second place a transient error can occur in an SSH test
2016-10-05 16:32:57 +09:00
rallytime
861a001749
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-09-23 15:06:28 -06:00
Nicole Thomas
07c9d040c0
Fixup the rabbitmq_user state test failure ( #36541 )
2016-09-23 15:05:40 -06:00
rallytime
1755f22de1
Merge branch '2016.3' into 'carbon'
...
No conflicts.
2016-09-22 10:01:17 -06:00
Mike Place
85907ef008
Merge pull request #36485 from gtmanfred/carbon
...
clean up keystone tests
2016-09-22 13:12:36 +09:00
Daniel Wallace
8deb342488
clean up keystone tests
...
Don't want to overwrite the stuff for the glance tests
2016-09-21 14:43:42 -05:00
rallytime
77f8120395
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- doc/topics/installation/windows.rst
- salt/engines/sqs_events.py
- salt/grains/core.py
2016-09-21 10:43:38 -06:00
rallytime
8805b57a1e
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-09-21 09:32:53 -06:00
Mike Place
41d3c09857
Merge pull request #35433 from terminalmage/issue34790
...
git.latest: Add a hint for possible rev changes resulting in non-fast-forward failures
2016-09-21 16:02:18 +09:00
rallytime
7bcbf8dc36
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- doc/faq.rst
- salt/modules/win_service.py
2016-09-20 10:43:55 -06:00
rallytime
2740fb7bfd
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/grains/core.py
2016-09-20 10:39:53 -06:00
Erik Johnson
aab02f28b4
Ensure we have a test venv created using virtualenv < 13.0
...
The test that runs these states is testing for behavior that was
obsoleted by virtualenv 13.0. Ensure that we have older virtualenv
available, and then create a venv with that older version. Use the
2nd virtualenv to attempt the "weird" install.
2016-09-19 14:27:30 -06:00
Thomas S Hatch
5625827ee2
Merge pull request #36378 from terminalmage/issue36321
...
git.latest Treat an up-to-date checkout with local changes as up-to-date
2016-09-19 12:43:29 -06:00
rallytime
c64e489f6f
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-09-19 11:22:54 -06:00
Erik Johnson
bb4d69f58a
git.latest: fail gracefully for misconfigured remote repo ( #36391 )
...
* git.latest: fail gracefully for misconfigured remote repo
When the remote repo's HEAD refers to a nonexistent ref, this was
causing a traceback when we tried to check if the upstream tracking
branch needed to be changed after cloning the repo. This commit fixes
this traceback by gracefully failing the state when the remote HEAD is
not present in the ``git ls-remote`` output, but the desired remote
revision doesn't exist.
Additionally, a similar graceful failure now happens if the state is run
again after we gracefully fail the first time, and we need to set the
tracking branch. Trying to set the tracking branch when there is no
local branch would fail with an ambiguous error like "fatal: branch
'master' does not exist", so before we even attempt to set the tracking
branch, the state is failed with a more descriptive comment.
* Add integration test for #36242
2016-09-19 09:33:00 -06:00
Erik Johnson
71b51f49ba
Add integration tests for PR #35433
2016-09-17 22:55:47 -05:00
Erik Johnson
7b1f621206
Fix git.latest test with local changes to reflect changes in state
2016-09-17 21:56:31 -05:00
Mike Place
52e9ba4076
Revert "Skip some tests on MacOS" ( #36341 )
2016-09-15 11:12:04 -06:00
Thomas S Hatch
d69878127e
Merge pull request #36284 from jfindlay/mac_skip
...
Skip some tests on MacOS
2016-09-15 09:46:30 -06:00
Erik Johnson
d9726f73a7
Remove reference to no-longer-skipped test
2016-09-15 08:57:38 -05:00
Erik Johnson
83cb406cc9
Merge branch 'twangboy-mac_pip_tests' into carbon
2016-09-15 08:56:49 -05:00
Erik Johnson
55fb5f4d2f
Merge branch 'mac_pip_tests' of https://github.com/twangboy/salt into twangboy-mac_pip_tests
2016-09-15 08:56:21 -05:00
Erik Johnson
f4dded464c
Ensure we have a test venv created using virtualenv < 13.0
...
The test that runs these states is testing for behavior that was
obsoleted by virtualenv 13.0. Ensure that we have older virtualenv
available, and then create a venv with that older version. Use the
2nd virtualenv to attempt the "weird" install.
2016-09-14 22:42:39 -05:00
Justin Findlay
30fd9a622a
skip pip weird install test
2016-09-14 14:40:43 -06:00
rallytime
dd1769ea58
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/modules/file.py
- salt/runners/cloud.py
- salt/utils/gitfs.py
2016-09-14 13:08:42 -06:00
rallytime
9e15df9b23
Switch the order of the decorator
...
When @requires_system_grains is listed before other decorators, wrapper
function gets confused on where the grains kwarg should go.
2016-09-14 12:12:21 -06:00
Mike Place
ee997be6d8
Fix pkg group test by passing a list instead of str
...
Refs integration.states.pkg.PkgTest.test_group_installed_handle_missing_package_group
2016-09-14 09:53:10 -06:00
rallytime
c7d8867096
Gate the pkg.group_installed state test: not all pkg modules have group_install
...
Refs #35907
2016-09-14 09:25:56 -06:00
rallytime
95dbe1ade4
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/fileserver/__init__.py
- setup.py
- tests/integration/modules/git.py
2016-09-14 09:15:29 -06:00
Mike Place
6a76a3a7e0
Merge pull request #36265 from rallytime/merge-carbon
...
[carbon] Merge forward from 2016.3 to carbon
2016-09-14 14:32:15 +09:00
Pablo Suárez Hernández
ed2d2bd331
Integration tests fixes for 2015.8 ( #36262 )
...
* Fixing integration tests if azure is not present
* Fixing integration tests failures if 'git' command is missing
Skip git state integration tests if 'git' does not exists
Prevent OSError if 'git' command not found during _git_version()
2016-09-13 15:24:06 -06:00
Pablo Suárez Hernández
a0bbb0f648
Integration tests fixes for 2016.3 ( #36263 )
...
* Fix PillarModuleTest::test_pillar_items: 'info' does not exist in pillar
* Fixing integration tests if azure is not present
* Fixing integration tests failures if 'git' command is missing
Skip git state integration tests if 'git' does not exists
Prevent OSError if 'git' command not found during _git_version()
2016-09-13 12:40:56 -06:00
twangboy
c01ec228e1
Skip weird_install test on Mac OS X
2016-09-13 11:35:38 -06:00
Daniel Wallace
b488cf2420
add __main__ function for keystone test
2016-09-13 10:23:04 -05:00
rallytime
e6a412dd49
Merge branch '2016.3' into 'carbon'
...
No conflicts.
2016-09-13 08:23:51 -06:00
Mike Place
de06116075
Merge pull request #35688 from cachedout/issue_33525
...
Splat serializer default configs into the serializer kwargs
2016-09-13 18:21:46 +09:00
Ch3LL
9ede50b451
fix archive test to only run on redhat
2016-09-12 15:43:06 -06:00
twangboy
4ae8a43435
Fix test_issue_6833_pip_upgrade_pip test on OSX
2016-09-12 12:17:30 -06:00
Mike Place
1eb67df61e
Merge pull request #36198 from gtmanfred/carbon
...
add keystone state integration tests
2016-09-11 18:16:38 +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
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