Pedro Algarvio
c3bc043b23
Merge branch '2015.2' into develop
...
Conflicts:
salt/syspaths.py
setup.py
tests/integration/__init__.py
2015-01-11 22:45:35 +00:00
Pedro Algarvio
9d0fe5b1d1
Merge branch '2014.7' into 2015.2
...
Conflicts:
salt/modules/brew.py
tests/integration/__init__.py
2015-01-11 22:40:16 +00:00
Thomas Jackson
e35c7ac313
cleanup "Caste jid as str (its an int all over), and change runner tag to correct prefix"
...
This reverts most of commit 745f2d84835ae23800358cd4dcc9c8525b502714.
apparently I picked up some other changes I didn't mean to
Conflicts:
salt/utils/event.py
tests/integration/utils/test_reactor.py
2015-01-10 16:32:24 -08:00
Thomas Jackson
d352057f11
Pylint fix
2015-01-10 16:31:59 -08:00
Thomas Jackson
c17462d062
Caste jid as str (its an int all over), and change runner tag to correct prefix
2015-01-10 16:30:00 -08:00
Mike Place
0e935486de
Merge pull request #19605 from jacksontj/develop
...
Fixes for develop
2015-01-10 08:54:59 -07:00
Thomas Jackson
925afac98d
Temporarily change this test to work around race condition in the runnerclient
...
@rallytime If you have some list of tests that are disabled that shouldn't be, this is one for the list :)
2015-01-10 00:18:16 -08:00
Mike Place
1277b71e2d
Typo
2015-01-09 21:22:40 -07:00
Mike Place
7d4123c6b3
Async flag and test cleanup
2015-01-09 21:21:50 -07:00
Thomas S Hatch
98cc0f88b4
Merge pull request #19585 from cachedout/async_flag_for_test_run
...
Async flag for test run
2015-01-09 17:50:52 -07:00
Mike Place
7aec24e8e1
Typo
2015-01-09 13:26:25 -07:00
Mike Place
9d7990f264
Async flag and test cleanup
2015-01-09 13:14:33 -07:00
rallytime
d6b3f69c19
Cleaner and actual fix for the failing weird pip test for CentOS 5
2015-01-09 13:10:09 -07:00
Colton Myers
3ce5eb2838
Merge branch '2014.7' into merge-forward-2015.2
...
Conflicts:
salt/modules/archive.py
salt/modules/brew.py
salt/modules/pip.py
tests/unit/modules/archive_test.py
tests/unit/modules/pip_test.py
2015-01-09 11:39:09 -07:00
rallytime
28cb062697
Cleaner and actual fix for the failing weird pip test for CentOS 5
2015-01-09 10:52:55 -07:00
rallytime
ea769829af
Fix my pylint errors
2015-01-08 15:09:55 -07:00
rallytime
41841701e7
Fix djangomod.py integration test failures
2015-01-08 12:57:11 -07:00
Mike Place
ca9a871d43
Merge pull request #19536 from rallytime/pip_test_fix
...
Don't run weird pip install test on CentOS 5
2015-01-08 12:21:08 -07:00
rallytime
71ef3f7744
Keep package name the same
2015-01-08 12:13:26 -07:00
rallytime
a0f801f475
Skip this test when we are running on centOS 5
2015-01-08 12:11:51 -07:00
Colton Myers
a60fa6b3d1
Merge branch '2015.2' into develop
2015-01-08 11:29:08 -07:00
Mike Place
d6ce858c23
Try giving some rest tornado requests a little more time
2015-01-08 10:04:19 -07:00
rallytime
5490530504
Change the install package to fix pip tests
2015-01-08 09:32:53 -07:00
rallytime
74a1861655
Merge branch '2015.2' into merge_forward_develop
2015-01-07 17:01:25 -07:00
Colton Myers
70489c62a7
Merge branch '2014.7' into merge-forward-2015.2
...
Conflicts:
salt/modules/cron.py
salt/modules/rabbitmq.py
salt/modules/smf.py
salt/modules/upstart.py
salt/modules/useradd.py
salt/modules/zpool.py
salt/pillar/git_pillar.py
2015-01-07 14:49:58 -07:00
rallytime
4e87557748
--local is not available in older versions of git
...
Also adjust the tests:
subprocess.check_output is only available in python 2.7
2015-01-07 11:56:43 -07:00
rallytime
fe4fd7a5a3
Use skip_if_binaries_missing decorator
2015-01-07 10:11:26 -07:00
rallytime
194c0696aa
Fix my pylint errors
2015-01-06 17:27:38 -07:00
Seth House
e96654744f
Added test for git_pillar branch to env mappings
2015-01-06 16:51:58 -07:00
rallytime
ed3a34624c
Fix djangomod.py integration test failures
2015-01-06 22:26:46 +00:00
Colton Myers
c5cdc575d0
Merge branch '2015.2' into merge-forward-develop
...
Conflicts:
salt/utils/reactor.py
tests/jenkins-ng.py
2015-01-06 14:16:15 -07:00
Colton Myers
f6eae029f0
Merge branch '2014.7' into merge-forward-2015.2
...
Conflicts:
pkg/windows/installer/Salt-Minion-Setup.nsi
salt/grains/core.py
salt/minion.py
salt/modules/mongodb.py
salt/states/archive.py
salt/states/mount.py
salt/utils/master.py
salt/utils/schedule.py
salt/utils/thin.py
tests/jenkins-ng.py
2015-01-06 13:14:27 -07:00
rallytime
f6243f0b80
Fix the test in the correct place...
2015-01-05 15:36:45 -07:00
rallytime
4a62c2b860
Fix pip state test failure
2015-01-05 15:20:18 -07:00
Mike Place
f44e46d080
Adjust batch test
2015-01-05 10:04:15 -07:00
rallytime
57514d824b
Fix pylint on 2014.7 branch
2015-01-03 21:44:09 -07:00
Justin Findlay
751e0c7f43
update color name consistency
2014-12-27 12:20:08 -07:00
Justin Findlay
4748156ed9
update cmdmod integration tests
2014-12-23 13:59:25 -07:00
Mike Place
7ff6c22b9b
Remove deprecated tests
2014-12-19 11:37:56 -07:00
Colton Myers
43df12b6cc
Merge branch '2014.7' into merge-forward
...
Conflicts:
salt/client/ssh/shell.py
salt/modules/file.py
tests/integration/states/file.py
2014-12-18 10:32:19 -07:00
Elias Probst
5a6811759f
Fix tests for #18841 .
2014-12-18 01:51:26 +01:00
Elias Probst
a2e52dd5fc
Fix tests for #18841 .
2014-12-18 01:51:08 +01:00
Elias Probst
e82c6ba7c0
Add missing line.
2014-12-18 01:50:39 +01:00
Thomas S Hatch
c2c9e56b82
Merge pull request #18931 from cachedout/cli_refactor
...
Refactor the entire CLI out of __init__
2014-12-17 14:37:13 -07:00
Thomas S Hatch
6263382858
Merge pull request #18918 from cachedout/salt_cli_retcode
...
Make salt cli return a non-zero error code if an error occurred
2014-12-17 14:36:51 -07:00
Elias Probst
6363aa22ac
Add integration tests for 'modules.file.replace()'.
2014-12-17 12:06:58 +01:00
Mike Place
67150306b6
Fix version test
2014-12-15 13:13:42 -07:00
Mike Place
302d5cab39
Fix failing test
2014-12-15 12:04:35 -07:00
Mike Place
a8ab27df4c
Make tests run
2014-12-15 11:36:19 -07:00
Pedro Algarvio
71df7ac58a
Skip tests which require the SSHD server running in case it's not
2014-12-13 00:11:41 +00:00
Elias Probst
2fe5e0309c
Typo (assertInSalStatetWarning → assertInSaltStateWarning).
2014-12-10 21:04:11 +01:00
Pedro Algarvio
a985f0ac4e
Disable some Pylint errors
2014-12-01 03:23:52 +00:00
Pedro Algarvio
14cc8931ed
Disable some Pylint errors
2014-11-28 15:30:05 +00:00
Pedro Algarvio
733b31da23
Merge branch '2014.7' into develop
...
Conflicts:
tests/unit/modules/hashutil_test.py
tests/unit/templates/jinja_test.py
2014-11-27 03:59:40 +00:00
Pedro Algarvio
78bc5107ee
Switch open()
for salt.utils.fopen()
2014-11-26 23:38:34 +00:00
Pedro Algarvio
62ec46d6dd
Switch open()
for salt.utils.fopen()
2014-11-26 23:37:01 +00:00
Pedro Algarvio
d957d2e911
Switch open()
for salt.utils.fopen()
2014-11-26 23:36:26 +00:00
Pedro Algarvio
bea345e720
Switch open()
for salt.utils.fopen()
2014-11-26 23:35:31 +00:00
Pedro Algarvio
1857a0d31f
Switch open()
for salt.utils.fopen()
2014-11-26 23:30:18 +00:00
Pedro Algarvio
8735242906
We need to call read()
!
2014-11-26 23:13:19 +00:00
Pedro Algarvio
1eeb02d93f
Add a missed with
2014-11-26 21:07:39 +00:00
Pedro Algarvio
47edf6fc89
Fix the with
context
2014-11-26 20:49:04 +00:00
Pedro Algarvio
bfe99dbb3f
Merge branch '2014.7' into develop
...
Conflicts:
salt/cloud/__init__.py
salt/modules/file.py
salt/modules/zcbuildout.py
salt/runners/lxc.py
salt/runners/manage.py
2014-11-26 20:14:56 +00:00
Pedro Algarvio
2d210b9055
Switch open()
for salt.utils.fopen()
2014-11-26 18:33:22 +00:00
Pedro Algarvio
89befb8827
Switch open()
for salt.utils.fopen()
2014-11-26 18:02:24 +00:00
Pedro Algarvio
b5cda75a8c
Switch open()
for salt.utils.fopen()
2014-11-26 18:01:35 +00:00
Pedro Algarvio
ea717d2422
Switch open()
for salt.utils.fopen()
2014-11-26 17:59:52 +00:00
Pedro Algarvio
d27c38d28f
Switch open()
for salt.utils.fopen()
2014-11-26 17:57:57 +00:00
Pedro Algarvio
70b657af20
Switch open()
for salt.utils.fopen()
2014-11-26 17:56:43 +00:00
Pedro Algarvio
46ea34b4f5
Switch open()
for salt.utils.fopen()
2014-11-26 17:55:30 +00:00
Pedro Algarvio
32b2f2e05f
Switch open()
for salt.utils.fopen()
2014-11-26 17:54:29 +00:00
Pedro Algarvio
2127a98667
Switch open()
for salt.utils.fopen()
2014-11-26 17:52:46 +00:00
Pedro Algarvio
9230f5b5ee
Switch open()
for salt.utils.fopen()
2014-11-26 17:50:47 +00:00
Pedro Algarvio
753338e078
Switch open()
for salt.utils.fopen()
2014-11-26 17:49:27 +00:00
Pedro Algarvio
2a597da207
Switch open()
for salt.utils.fopen()
2014-11-26 17:47:05 +00:00
Pedro Algarvio
6b72255e9b
Switch open()
for salt.utils.fopen()
2014-11-26 17:46:13 +00:00
Pedro Algarvio
5dfddc88a4
Switch open()
for salt.utils.fopen()
2014-11-26 17:39:49 +00:00
Pedro Algarvio
0723b24feb
Switch open()
for salt.utils.fopen()
2014-11-26 17:39:18 +00:00
Thomas S Hatch
d416b8b1b8
gix tornado merge conflict
2014-11-26 09:25:47 -07:00
Thomas S Hatch
6aa5b0f858
Merge branch '2014.7' into develop
...
Conflicts:
salt/modules/genesis.py
salt/modules/parted.py
salt/modules/win_service.py
salt/runner.py
salt/states/file.py
tests/integration/netapi/rest_tornado/test_app.py
2014-11-26 09:24:24 -07:00
Pedro Algarvio
50c437f8c5
Use atexit for the cleanup
2014-11-26 00:41:02 +00:00
Pedro Algarvio
593544b577
Move cleanup_runtime_config_instance
out of TestDaemon
2014-11-26 00:20:27 +00:00
rallytime
eeab98c3be
Skip tornado tests if we can't import ZMQIOLoop
...
Tornado tests were failing on Ubuntu 10 and 12 because they don't have
a new enough version of PyZMQ to use the ioloop.current function.
2014-11-25 13:06:33 -07:00
Mike Place
d746bb272c
Run runner tests async
2014-11-24 20:48:04 -07:00
Pedro Algarvio
e8104167f4
Forced clean up of runtime config dictionary which includes a local client
2014-11-25 00:33:45 +00:00
Colton Myers
dc43840cee
Merge branch '2014.7' into merge-forward
...
Conflicts:
salt/modules/glusterfs.py
salt/modules/macports.py
salt/modules/makeconf.py
salt/modules/mdadm.py
salt/modules/smartos_vmadm.py
salt/modules/zypper.py
salt/utils/event.py
tests/integration/netapi/rest_tornado/test_app.py
tests/unit/netapi/rest_tornado/test_handlers.py
2014-11-21 12:05:32 -07:00
Thomas Jackson
0a1b88e6b5
Change all saltnado asserts to unittest asserts. This way when there is a failure you get nice pretty printouts!
2014-11-20 18:35:41 -08:00
Pedro Algarvio
0c50d789b7
The imports actually work so shut up PyLint!
2014-11-20 18:22:19 +00:00
Pedro Algarvio
10a9c479ff
Remove unused import
2014-11-20 16:45:36 +00:00
Pedro Algarvio
5cf320f45f
Allow the tests to be skipped
2014-11-20 16:40:47 +00:00
Pedro Algarvio
e45033b993
Make PyLint ignore unused imports
2014-11-20 16:40:47 +00:00
Pedro Algarvio
6b19c7b03e
Use urlencode
from six
2014-11-20 16:40:45 +00:00
Pedro Algarvio
a802d8f7f5
Use the skip_if_binaries_missing_helper
2014-11-20 16:40:38 +00:00
rallytime
e70537eb2c
Fix missing cls variable and add some docstring info
2014-11-20 09:15:56 -07:00
Thomas Jackson
c68066d60b
Decrease timeout to fit into "long", before this timeout wasn't passed anywhere, but now that it is it has to fit into a C long otherwise you get errors like:
...
"OverflowError: Python int too large to convert to C long"
2014-11-20 07:46:13 -08:00
Jonathan Ballet
a6c3499749
Please pylint
...
My patch #18221 yesterday introduced new Pylint warnings/errors.
This fixes these warnings.
2014-11-19 19:28:28 +01:00
Thomas S Hatch
873d1c1803
Merge pull request #18221 from multani/fix/git-config-set-shell-escape
...
Fix Git's config set with values containing white spaces.
2014-11-18 17:14:43 -07:00
Jonathan Ballet
97959959ca
Add future's absolute import to fix importation of git in tests
...
Tests in pillar.py are importing the "git" module, which is supposed to
be "GitPython", bt since Python 2.x doesn't use absolute import by
default, it imports the "git" submodule, which defines the tests for the
Git module of Salt, instead.
2014-11-18 22:46:35 +01:00
Colton Myers
716a7e3331
Merge branch '2014.7' into merge-forward
...
Conflicts:
salt/modules/bsd_shadow.py
salt/modules/freebsdjail.py
salt/modules/yumpkg.py
salt/modules/zfs.py
salt/modules/zypper.py
salt/netapi/rest_tornado/saltnado.py
salt/states/dockerio.py
2014-11-18 12:46:29 -07:00
Jonathan Ballet
38bb70d398
Fix Git's config set with values containing white spaces.
...
The Salt function 'git.config_set' and the state 'git.config' (which relies
on the former) don't escape the value to be set in the configuration file
passed by Salt. For example, this doesn't work:
mylocalrepo:
git.config:
- name: user.name
- value: "Jonathan Ballet"
- repo: file://my/path/to/repo
This set the 'user.name' configuration value to "Jonathan" only.
(Additionally, the state discovers that the value set is not the one
specified, and keeps trying to set the right value, which ends up with lot
of "name = Jonathan" into the "[user]" section of Git's config file.)
This commit fixes the problem and adds some unit tests to verify it's
working properly.
2014-11-18 20:02:24 +01:00
Thomas Jackson
837a8ed475
Move EventListener over to ZMQStreams
2014-11-17 08:24:28 -08:00
Thomas Jackson
f7adfb44e9
Increase timeout from 5s to 10s, since jenkins seems to have issues calling runners in 5s
2014-11-14 18:08:44 -08:00
rallytime
652d4b4803
Fix up the linux_acl test that is failing
2014-11-14 15:40:12 -07:00
Thomas Jackson
ea8b4bb479
Make sure to only cleanup the tag_map in the case that you timeout the future
2014-11-14 11:47:35 -08:00
Thomas Jackson
e2102fcbc7
Pylint cleanup
2014-11-14 09:15:54 -08:00
Thomas Jackson
6f0552c9e1
Pylint fixes
2014-11-13 09:33:14 -08:00
Thomas Jackson
9e61037b0d
Cleanup, and fix exp_form override-- we need to do it after the ping to minions
2014-11-13 08:36:28 -08:00
Thomas Jackson
ce22427071
Remove timeout test since that no longer valid
2014-11-13 08:36:28 -08:00
Thomas Jackson
31b54762b0
Add tests for multi-post and multi-token
2014-11-13 08:36:28 -08:00
Thomas Jackson
a259f2149b
Move syndic_wait_done into base class (more than one func need it)
...
Change local_batch to just call local to get the minion list
2014-11-13 08:36:28 -08:00
Thomas Jackson
522090a8c8
Rework local to ping minions, and wait a min of syndic_wait (if a syndic)
2014-11-13 08:36:28 -08:00
Thomas Jackson
9d4784f835
Update todo marker
2014-11-13 08:36:28 -08:00
Thomas Jackson
8cd7b06b36
Change disbatch to handle different clients per lowstate chunk
2014-11-13 08:36:27 -08:00
Thomas Jackson
1131522eb5
Update TODO marker
2014-11-13 08:36:27 -08:00
Thomas Jackson
b99e189468
Add tests for WebhookSaltAPIHandler
2014-11-13 08:36:27 -08:00
Thomas Jackson
2d9b1df95d
Add tests for EventsSaltAPIHandler
2014-11-13 08:36:27 -08:00
Thomas Jackson
847df0fad6
Add RunSaltAPIHandler tests
2014-11-13 08:36:27 -08:00
Thomas Jackson
bd58ca8fa0
Add Jobs api endpoint tests
2014-11-13 08:36:27 -08:00
Thomas Jackson
f0f9b14ee2
Add tests for MinionSaltAPIHandler
2014-11-13 08:36:27 -08:00
Thomas Jackson
cd01c9a1d6
Add check for the redirect location
2014-11-13 08:36:27 -08:00
Thomas Jackson
8bd72aeb4f
Add test for unauthorized access
2014-11-13 08:36:27 -08:00
Thomas Jackson
7ef2537842
Finished basic tests for base SaltAPIHandler
2014-11-13 08:36:27 -08:00
Nicole Thomas
d54fbe8887
Merge pull request #17866 from jfindlay/netapi_known_jid_test
...
integration test: known JID through netapi #15763
2014-11-13 09:17:45 -07:00
Chris Rebert
67b3e19690
tests/integration/__init__.py: salt._compat => six
2014-11-11 14:36:25 -08:00
Justin Findlay
b097a1e16b
pre-emptive pylint fix0r
2014-11-11 15:22:40 -07:00
Justin Findlay
abb3ba87bf
integration test: known JID through netapi #15763
2014-11-11 15:15:36 -07:00
Chris Rebert
478e406001
replace salt._compat.string_types with six.string_types
2014-11-11 13:45:52 -08:00
Mike Place
da163471af
Fix up tests
2014-11-10 15:42:45 -07:00
Pedro Algarvio
4235d15184
Merge branch '2014.7' into develop
2014-11-07 21:47:49 +00:00
Pedro Algarvio
31d3b7b955
Revert "Freeze the testing runtime configs at a latter stage"
...
This reverts commit 5da3ad341b
.
2014-11-07 20:39:49 +00:00
Pedro Algarvio
ea89edf3d8
Switch run_ssh
with run_function
2014-11-06 23:58:40 +00:00
Pedro Algarvio
b425c20919
2 of 500000
...
Let's not hardcode the SSH tests to the root user without the need for
that.
2014-11-06 19:42:59 +00:00
Pedro Algarvio
1b2e16a19e
Merge branch '2014.7' into develop
2014-11-05 22:47:06 +00:00
Pedro Algarvio
5da3ad341b
Freeze the testing runtime configs at a latter stage
2014-11-05 22:42:38 +00:00
Thomas S Hatch
c8bfd87105
Merge pull request #17153 from rallytime/merge_forward
...
Merge 2014.7 into develop
2014-11-04 15:03:28 -07:00
rallytime
b49c677af8
Merge branch '2014.7' into merge_forward
...
Conflicts:
salt/daemons/flo/core.py
salt/daemons/salting.py
salt/minion.py
salt/modules/introspect.py
salt/modules/lxc.py
salt/modules/sysmod.py
salt/runners/doc.py
salt/states/cloud.py
salt/transport/__init__.py
salt/utils/github.py
2014-11-04 10:07:02 -07:00
Roman Inflianskas
fb5e86aaa1
modules.linux_acl: satisfy pylint
2014-11-04 16:17:35 +03:00
Roman Inflianskas
83b760db44
modules.linux_acl: add integration tests
2014-11-04 14:45:23 +03:00
rallytime
92fc46607f
Don't use HVM image type.
2014-11-03 16:12:21 -07:00
rallytime
e272c41bb8
Use Ubuntu 14 image for ec2 cloud tests instead of RHEL 6
2014-11-03 15:13:14 -07:00
Colton Myers
0cc0d64136
Merge branch '2014.7' into develop
...
Conflicts:
salt/modules/hg.py
2014-10-31 16:14:34 -06:00
Nicole Thomas
573390d8ad
Merge pull request #17054 from jacksontj/2014.7
...
Fix for #17051
2014-10-31 10:14:16 -06:00
Thomas Jackson
6262d44d50
Add "normalize_ret" function, so we don't have to copy/paste so much
...
Add checks for "changes" since we want to test cases where there aren't changes to be made
2014-10-30 16:58:03 -07:00
Thomas Jackson
d2b548a0e7
Add regression test for #17051
2014-10-30 16:43:06 -07:00
Colton Myers
f625c21d77
Merge branch '2014.7' into mergeforward
...
Conflicts:
salt/cloud/clouds/ec2.py
salt/daemons/flo/worker.flo
salt/master.py
salt/minion.py
salt/modules/lxc.py
salt/states/win_update.py
salt/states/zk_concurrency.py
2014-10-30 17:42:36 -06:00
Pedro Algarvio
17564057c9
Actually kill the tests sshd process. Provide a custom know_hosts file to use.
2014-10-30 06:45:52 +00:00
Thomas Jackson
52f7216bea
Revert naming here too
2014-10-29 14:35:27 -07:00
Thomas Jackson
6612aa808e
Revert spelling fix, since its a variable name :)
2014-10-29 13:56:44 -07:00
Mike Place
c1c9245e89
Fixup test failures
2014-10-28 11:29:59 -06:00
Thomas Jackson
aabe6460f6
Misc comment cleanup in tests
2014-10-28 08:12:10 -07:00