Commit Graph

3260 Commits

Author SHA1 Message Date
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
ebfee14fda Add test for using a Future in multiple "Any" futures 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
Thomas Jackson
26afdd34ae Re-factor test cases 2014-11-13 08:36:27 -08:00
Thomas Jackson
4b8ac6a9e3 Add tests for auth handler
break unit tests for handlers into a separate file
Misc error handling fixes in Login handler
2014-11-13 08:36:26 -08:00
Thomas Jackson
6245c27391 Add tests for deserialize (and fix a few bugs in there)
More cleanup of websockets separation
2014-11-13 08:36:26 -08:00
Thomas Jackson
ecbd269eda Move future testing out of event listener test class 2014-11-13 08:36:26 -08:00
Thomas Jackson
ecefbb91dc Add tests for Any Futures
move eventlistener callbacks into the class
2014-11-13 08:36:26 -08:00
Thomas Jackson
3816236e26 Add test for event you don't want 2014-11-13 08:36:26 -08:00
Thomas Jackson
257a73fb69 Add first tests for rest_tornado! 2014-11-13 08:36:26 -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
Thomas S Hatch
03e2785281 lint 2014-11-11 10:03:22 -07:00
Thomas S Hatch
0ea13995de lint 2014-11-11 10:01:33 -07:00
Thomas S Hatch
840abd247a Merge pull request #17283 from cachedout/event_runners
Evented runners
2014-11-10 19:58:50 -07:00
Thomas S Hatch
142efd56b0 Merge pull request #17574 from bechtoldt/tame_ipv6_regex_beat
Fix broken ipv6 address verification in salt.utils.validate.net
2014-11-10 18:57:57 -07:00
Arnold Bechtoldt
485796e9f9 use the right function to test 2014-11-11 02:14:58 +01:00
Arnold Bechtoldt
d03ff7d6dd fix broken ipv6 address verification in salt.utils.validate.net 2014-11-11 01:42:46 +01:00
C. R. Oldham
8b8ab335cc Merge pull request #17317 from cro/pg_role_quote_tests
Update tests to respect changes in pg module.  Test failures are not related.
2014-11-10 16:51:43 -07:00
Mike Place
da163471af Fix up tests 2014-11-10 15:42:45 -07:00
C. R. Oldham
0303154c31 Update tests to respect changes in postgres module 2014-11-10 14:37:44 -07:00
Thomas Jackson
f24c94dd7b Pylint fixes 2014-11-10 13:03:35 -08:00
Thomas S Hatch
7300d3ac6a Merge pull request #17291 from ashb/gem_bin
Allow specifying custom `gem` to use in gem state and module
2014-11-10 09:37:29 -07:00
Thomas S Hatch
8862c2e829 Merge pull request #17290 from plastikos/improvement-yaml_encode
Add yaml_encode() jinja filter
2014-11-10 09:35:39 -07:00
Thomas Jackson
c43ac0a4c2 remove comment from local debugging 2014-11-10 08:33:39 -08:00
Thomas Jackson
e862642ff7 Add tests for SREQ class
revert keys() change to socket dicts since we will mutate the dict on iteration
2014-11-10 08:29:58 -08:00
Pedro Algarvio
1071ec0859 Merge branch '2014.7' into develop 2014-11-09 14:19:33 +00:00
Pedro Algarvio
ed321a4898 Don't reset the template registry 2014-11-09 14:17:15 +00:00
Ash Berlin
b1e57b82ea Allow specifying custom gem to use in gem state and module
Better late than never - here is a PR for issue #13202
2014-11-09 01:06:08 +00:00
Pedro Algarvio
d8315ebd32 Merge branch '2014.7' into develop 2014-11-08 09:39:55 +00:00
Justin Findlay
ba1ce3dfc5 pylint fixes 2014-11-08 00:33:02 -07:00
Thayne Harbaugh
e4488a3956 Add yaml_encode() jinja filter
* Add documentation for yaml_encode()
  * Mention yaml_encode() in formulas documentation
  * Add unit tests for yaml_encode()
  * Improve unit tests and documentation for related yaml_dquote()
2014-11-07 19:12:58 -07:00
Justin Findlay
9e9903c521 add unit tests for salt/modules/cp.py 2014-11-07 16:35:25 -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
Thomas S Hatch
656817141c Merge pull request #17210 from hulu/typos-galore
fix numerous typos+misspellings
2014-11-06 14:25:53 -07:00
Thomas S Hatch
5e490cb263 Merge pull request #17209 from cachedout/eventlist_chmod
+x for eventlisten and minionswarm
2014-11-06 14:24:41 -07:00
Thomas S Hatch
e4be523ee4 Merge pull request #17234 from thatch45/bemehow-get_vpc_id
Merge #17181
2014-11-06 14:06:56 -07: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
Joseph Hall
e1487b330b Merge pull request #17222 from hulu/typos-2-electric-boogaloo
more typo/misspelling fixes
2014-11-06 11:41:07 -07:00
Thomas S Hatch
1e74ae2c5f lint fixes 2014-11-06 11:05:37 -07:00
Thomas S Hatch
4e49453952 Merge branch 'get_vpc_id' of https://github.com/bemehow/salt into bemehow-get_vpc_id 2014-11-06 11:03:55 -07:00
Chris Rebert
802a631dd9 more typo/misspelling fixes 2014-11-05 15:29:25 -08: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
Chris Rebert
b9bb56841d fix numerous typos+misspellings 2014-11-05 13:57:47 -08:00
Mike Place
951a434228 +x for eventlisten and minionswarm 2014-11-05 14:49:32 -07:00
Chris Rebert
c46e43f296 tests/unit/utils/event_test.py: fix typo in comment 2014-11-05 11:03:54 -08:00
Michal Bicz
73f9654018 add module to find vpc id based on cidr, name or tags 2014-11-04 23:38:06 -08:00
Thomas S Hatch
77966c56c1 ilint 2014-11-04 15:18:37 -07:00
Thomas S Hatch
8fcab999dd Merge branch 'vpc_describe' of https://github.com/bemehow/salt into bemehow-vpc_describe 2014-11-04 15:15:51 -07: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
Thomas S Hatch
608d053844 Merge pull request #17121 from plastikos/improvement-yaml_quote
Add yaml_dquote() and yaml_squote() utilites; load them as Jinja filters...
2014-11-04 14:02:05 -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
Thomas S Hatch
ff593e30b2 remove duplicate code 2014-11-04 10:05:24 -07:00
Roman Inflianskas
202d3c343a modules.linux_acl: add recursive option for all functions 2014-11-04 19:54:41 +03:00
Thomas S Hatch
8e8b4c6b5c lint 2014-11-04 09:48:58 -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
Roman Inflianskas
403a8b4cc9 modules.linux_acl: cleanup comments 2014-11-04 14:45:23 +03:00
Roman Inflianskas
b6cbb70e38 modules.linux_acl: add unit tests 2014-11-04 14:45:17 +03:00
Roman Inflianskas
8f409a4180 modules.linux_acl: add unit tests 2014-11-04 14:45:06 +03:00
Roman Inflianskas
16b4e2619f modules.linux_acl: raise exception on no files given; add unit tests 2014-11-04 14:44:44 +03:00
Michal Bicz
6c2f21263c added unit tests, used vpc_ids argument instead of filter to find VPC, lint 2014-11-03 23:25:04 -08:00
Thayne Harbaugh
dc4892442a Add yaml_dquote() and yaml_squote() utilites; load them as Jinja filters.
When templating state files the variable contents may contain
characters that YAML will interpret specially.  Rather than try to
escape the special characters so that they are safe use a filter that
protects special characters in YAML values.
2014-11-03 16:14:54 -07: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
Roman Inflianskas
f5903dfe6d modules.parted: tests: fixed probe deprecation testing #2 2014-11-03 13:12:46 +03:00
Roman Inflianskas
d04abdf91a modules.parted: tests: fixed probe deprecation testing 2014-11-03 12:30:13 +03:00
Roman Inflianskas
70e4062cf9 Actually testing parted
called_once_with didn't work, changed to assert_called_once_with
2014-11-03 11:52:01 +03:00
Colton Myers
0cc0d64136 Merge branch '2014.7' into develop
Conflicts:
	salt/modules/hg.py
2014-10-31 16:14:34 -06:00
Thomas S Hatch
15a51935fa Merge pull request #17073 from jfindlay/jmoney/linux_sysctl_test
Jmoney/linux_sysctl_test
2014-10-31 15:25:35 -06:00
Justin Findlay
26094b39b4 pylint fix on linux_sysctl_test.py 2014-10-31 12:41:04 -06:00
Justin Findlay
f09b8e3873 remove redundant mock_open() in darwin_sysctl_test.py 2014-10-31 10:42:57 -06:00
Justin Findlay
106f645c9e adding tests for modules/linux_sysctl.py 2014-10-31 10:16:41 -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
Thomas S Hatch
3f58d716a2 Merge pull request #16878 from plastikos/improvement-filter_by
Improve filter_by() base argument:
2014-10-30 10:02:32 -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
Pedro Algarvio
136803bb9d Merge pull request #16941 from cachedout/remove_deprecations
Remove deprecations
2014-10-28 18:49:12 +00:00