Thomas S Hatch
4b630d77ed
Merge pull request #16407 from s0undt3ch/hotfix/cache-loaded-configs
...
First attempt at caching the loaded configuration from the filesystem.
2014-10-13 20:05:52 -06:00
Mathieu Le Marec - Pasquet
2d1200b64e
pep8
2014-10-13 15:32:11 -06:00
Mathieu Le Marec - Pasquet
acd15e386e
display traceback in test error
2014-10-13 15:32:11 -06:00
Mathieu Le Marec - Pasquet
1c4616556a
Another fix for outputter reliability
2014-10-13 15:32:10 -06:00
Thomas S Hatch
ef83ad23c3
Merge pull request #16579 from s0undt3ch/hotfix/vt-fixes
...
More VT fixes
2014-10-13 14:23:11 -06:00
Pedro Algarvio
e683619f9f
Having data left to read does not mean the process is alive
2014-10-13 17:19:42 +01:00
Pedro Algarvio
4470c0dc68
White-space lint fix
2014-10-12 04:29:59 +01:00
Pedro Algarvio
51479e4592
Include a test case in order to check for full output from VT
2014-10-12 03:37:08 +01:00
Pedro Algarvio
743c26e562
Instead of checking for a live process, check for unread data.
...
Add a unit test which tests proper behaviour.
Fixes #15941
2014-10-12 02:28:35 +01:00
Pedro Algarvio
41870ef3e0
Fix ensure in syspath call
2014-10-12 02:16:23 +01:00
Pedro Algarvio
4fca1c96da
Set the cachedir to a relative path
2014-10-12 02:16:23 +01:00
Pedro Algarvio
52d0d01d09
Set the cachedir to a relative path
2014-10-12 02:16:23 +01:00
Pedro Algarvio
e9fbd9910d
Set the cachedir to a relative path
2014-10-12 02:16:23 +01:00
Pedro Algarvio
8d9570ef43
Set the cachedir to a relative path
2014-10-12 02:16:23 +01:00
rallytime
7e09896c7c
Clean up boto_secgroup unit test
...
This test required some tweaks as there are new versions of boto and moto
2014-10-10 16:35:08 -06:00
Gareth J. Greenaway
9ae138e1a4
Fixing the unit tests for ps module
2014-10-07 20:56:02 -07:00
Pedro Algarvio
8e93faa072
Fix lint errors
2014-10-08 01:02:11 +01:00
Pedro Algarvio
ff97810661
Load configs from scratch
2014-10-08 01:02:10 +01:00
Pedro Algarvio
ab6a54dbf5
The runtime client gets an unfreeze version of the configs
2014-10-08 01:02:10 +01:00
Pedro Algarvio
5e4eb4bbaf
Don't add tests in __init__
2014-10-08 01:02:10 +01:00
Pedro Algarvio
e739561728
Use the salttesting skip helpers
2014-10-08 01:02:10 +01:00
Pedro Algarvio
d569f0811e
Let's go wild and cache the local client as reusable a runtime global instance
2014-10-08 01:02:10 +01:00
Pedro Algarvio
7cab740adf
Removed --runner
because it's integrated in the client tests
2014-10-08 01:02:10 +01:00
Pedro Algarvio
3de914e556
Move tests away from __init__
2014-10-08 01:02:08 +01:00
Pedro Algarvio
dee2c91fde
Test the runner client under tests/integration/clients
2014-10-08 01:00:20 +01:00
Pedro Algarvio
d0ca8274ae
Remove the unnecessary integration.ClientCase
class
2014-10-08 01:00:19 +01:00
Pedro Algarvio
b32d86d0f4
Allow getting the configuration from scratch.
...
Properly handle `client_config` when loading from cache.
Only delete the `_client` attribute if it has been set.
2014-10-08 01:00:06 +01:00
Pedro Algarvio
93e8b12b93
Try caching the client too
2014-10-08 00:57:22 +01:00
Pedro Algarvio
bbc9120471
The syndic_config
call needs the path to the minion config file
2014-10-08 00:57:22 +01:00
Pedro Algarvio
4d047a67f5
Handle more config filenames
2014-10-08 00:57:22 +01:00
Pedro Algarvio
3a3c6b06dd
First attempt at caching the loaded configuration from the filesystem.
...
This basically should avoid loading and parsing YAML over and over again.
2014-10-08 00:57:22 +01:00
Seth House
dd400f2e96
Added integration tests WheelClient cmd_sync cmd_async
2014-10-07 16:43:15 -06:00
Seth House
0d07099444
Added integration tests for wildcard eauth usernames
2014-10-02 23:53:37 -06:00
Seth House
a5d861314b
Added a wildcard eauth user for testing
2014-10-02 19:21:51 -06:00
Colton Myers
0ffec8f6d3
Merge pull request #16327 from basepi/bp-16322
...
Backport #16322 to 2014.7
2014-10-02 15:33:45 -06:00
Colton Myers
0edf446903
Remove unused imports
2014-10-02 13:52:24 -06:00
Seth House
dbe2fe5c92
Added unit test for running arguments through the RunnerClient
2014-10-02 12:00:01 -06:00
Tarjei Husøy (via Travis CI)
25ea6060b7
Replace random.randint() with os.urandom()
2014-10-02 10:20:20 -06:00
Thomas S Hatch
37267f76b9
Merge pull request #16276 from jacksontj/2014.7
...
Ensure that timeout will happen for jobs that don't target any alive minions
2014-09-30 16:24:19 -06:00
Thomas Jackson
d9fdc06742
Ensure that timeout will happen for jobs that don't target any alive minions
...
Instead of checking if all returns are in, we should check that the job is not running anywhere then enforce the per-minion timeout. I've added a test case for the instance where there is a job fired to a minion that will never return (before it would stall forever)
2014-09-30 10:11:55 -07:00
Steve Weber
a0c3723c96
removed the slash when using slspath
2014-09-30 10:51:36 -06:00
Thomas Jackson
98af66bbf3
Add a regression test for #16240
2014-09-29 16:37:53 -07:00
Erik Johnson
e37b337a56
Add unity manpage to buildpackage spec
...
This fixes automated package builds in jenkins
2014-09-29 13:35:50 -05:00
rallytime
b891ef12f0
Skip test_vt_size unit test
2014-09-25 15:38:01 -06:00
Pedro Algarvio
227c62b4ee
Merge pull request #16149 from rallytime/improve_loader_test
...
Fix linode test failures and test all modules
2014-09-25 20:38:06 +01:00
rallytime
210adceeff
Actually, just fix pylint
2014-09-25 12:36:00 -06:00
rallytime
e2dce8acba
Skip ssh grains test for now. Test environment isn't set up to handle it.
2014-09-25 11:47:44 -06:00
rallytime
ac40a5b2da
Fix linode test failures and test all modules
2014-09-25 11:34:50 -06:00
Daniel Mizyrycki
e0c6c8c22a
salt-ssh, issue #16129 :
...
Add integration/regression test for issue affecting grains and pillar subsystem.
2014-09-24 20:58:37 -07:00
Thomas S Hatch
ee9bf6c6cc
Merge pull request #16062 from rallytime/fix_ec2_tests
...
Fix the ec2 cloud provider tests
2014-09-23 17:16:10 -06:00