Commit Graph

1484 Commits

Author SHA1 Message Date
Pedro Algarvio
800c918729 Let SaltStackVersion be the original one, not a MagicMock'ed one 2013-10-04 09:53:50 +01:00
Ajith Antony
b95a5d9fd0 Virt Template deploy, and serial xml tests
- Added virt templates to setup
- moved NIC xml string template to file
- added tests for serial xml
2013-10-03 13:21:34 -05:00
Pedro Algarvio
1a3c11c1ca Logs download should be done in a separate step. 2013-10-03 18:49:34 +01:00
Ajith Antony
c7ae3ba592 Nic profile changes
- Implement 3 styles of profile definition
- Support both config.options and config.get
- Replaces NIC substituions with template
- xml unit tests fixed up
2013-10-03 12:06:19 -05:00
Ajith Antony
6ce3973c13 added main run to simple.py 2013-10-03 11:50:49 -05:00
Seth House
a4619a9c1c Actually run the file.replace unit tests... 2013-10-03 09:28:32 -06:00
Pedro Algarvio
c8f1e457d7 Allow tests.integration.run_tests to execute more than one TestCase instance. 2013-10-03 16:09:57 +01:00
Pedro Algarvio
58b5a85b58 Some sleeping between commands. 2013-10-03 15:08:50 +01:00
Pedro Algarvio
67abab7b21 Set the VM name. 2013-10-03 13:36:08 +01:00
Pedro Algarvio
36e889b8ed Support downloading remote logs in Jenkins. 2013-10-03 12:52:05 +01:00
Pedro Algarvio
cf7a0b6205 Don't trigger state events on pydsl unit tests. 2013-10-03 00:59:03 +01:00
Henrik Holmboe
baf46300fa Remove unused import
We use ElementTree from salt._compat.
2013-10-02 16:17:19 +02:00
Henrik Holmboe
eea799c8c3 Specify reason for Python 2.7 requirement
While ElementTree is in Python 2.6, we need the expanded support
for xpath which was introduced in Python 2.7.

As discussed in #7264, it might be possible to install
`elementtree-1.3a3-20070912` for Python 2.6, but this is yet untested.
2013-09-30 10:40:13 +02:00
Pedro Algarvio
516e304b96 Let's try if mocking fixes the intermittent failures of the unit test. 2013-09-28 23:50:30 +01:00
Pedro Algarvio
707385c1c1 Use the salt testing requires_salt_modules decorator. 2013-09-28 18:57:38 +01:00
Pedro Algarvio
034d8f3a61 Skip tests if libvirt is not importable. 2013-09-28 18:55:15 +01:00
Pedro Algarvio
e194a9fabe Merge pull request #7494 from s0undt3ch/issues/7409-no-new-line-ssh-keys
Make sure there's a line break before writing new key
2013-09-28 03:07:43 -07:00
Pedro Algarvio
ec07e5ae49 Adapt test cases to fixed behaviour. 2013-09-28 00:00:59 +01:00
Pedro Algarvio
9b3d504e03 Fix unit tests regarding salt.utils.find._parse_interval 2013-09-28 00:00:59 +01:00
Pedro Algarvio
e7ddf159a1 Make sure there's a line break before writing new key. Fixes #7409. 2013-09-28 00:00:26 +01:00
Pedro Algarvio
2f3ed58541 Add test case which verifies the occurrence of #7409. 2013-09-28 00:00:25 +01:00
Thomas S Hatch
bd846ffdbb Merge pull request #7264 from holmboe/esxi-init
Introduce disk profiles and enable virt.init on an ESX host
2013-09-27 08:02:11 -07:00
Henrik Holmboe
5324d6a7eb Two integration tests for virt.get_profiles
This will test the default NIC and disk profiles for KVM and ESX.
2013-09-27 01:41:52 +02:00
Henrik Holmboe
3149499765 Add unit tests
In addition to custom ESX profile, test:

 - default KVM profile
 - default ESX profile
 - custom KVM profile
2013-09-27 01:39:07 +02:00
Henrik Holmboe
7ec34af486 Refactor profile loading to use YAML
This is done in order to more easily test configuration syntax errors,
as the the minion configuration file uses YAML.
2013-09-27 01:11:28 +02:00
Henrik Holmboe
008a1b7fc9 Compatibility import for ElementTree 2013-09-27 00:58:17 +02:00
Henrik Holmboe
a8d258cefc Use StringIO from salt._compat 2013-09-27 00:45:27 +02:00
Henrik Holmboe
da3799ba19 Add unit tests for a few functions in modules.virt
For:

 * modules.virt._disk_profile()
 * modules.virt._nic_profile()
 * modules.virt._gen_xml()
2013-09-26 17:21:37 +02:00
Pedro Algarvio
a9d5ac5a3e Add unit tests to salt.utils.format_call(). 2013-09-24 22:08:08 +01:00
Pedro Algarvio
4a18003231 Error signatures changed, lets update test cases. 2013-09-24 22:08:08 +01:00
Pedro Algarvio
83d23d9be7 Use salt.utils.is_windows(). 2013-09-24 22:08:08 +01:00
Pedro Algarvio
bacd2264ee State calls now fail if non-supported arguments are used. Fixes #6962.
* Removed `format_call` from `salt.state.State` since it was almost a one to one copy of `salt.utils.format_call`.
* The `format_call` in `salt.utils` was modified to accept initial return data(to provide the functionality from the removed `State.format_call`.
* While the function arguments are being queried/matched, those used are removed from a copy of the passed data. Once finished, any remaining keyword arguments which do not match those allowed on the `expected_extra_kws` keyword argument to `format_call` will raise a `SaltInvocationError`.

This will prevent any future bogus bug searching like what happened on #6912 because the wrong state function argument was being passed.
2013-09-24 22:08:07 +01:00
Pedro Algarvio
7ae519c34e Fix unit.states.rvm_test.TestRvmState.test_installed 2013-09-21 10:42:34 +01:00
Seth House
ea657eed48 Added unit and integration tests for the file.replace functions 2013-09-20 17:01:57 -06:00
Thomas S Hatch
1b261571ce Merge pull request #7338 from rca/template_error_context
Template error context
2013-09-19 13:09:04 -07:00
Pedro Algarvio
f75c59ecbf Properly handle shell unit tests which check versions. 2013-09-19 18:50:51 +01:00
Pedro Algarvio
012b8100bb Properly handle git describe with RC's and proper version comparison. 2013-09-19 18:42:37 +01:00
Pedro Algarvio
05be7064d5 0.17.0 has been tagged. The 0.16.x requires_network is no longer necessary. 2013-09-19 11:16:37 +01:00
Roberto Aguilar
ef968e7c64 Added tests for error template context. 2013-09-19 01:02:05 -07:00
Colton Myers
6aee81133a Merge pull request #7303 from dlanderson/mine_delete_issue_7226
Add mine.delete to remove specific mine functions.
2013-09-18 16:04:04 -07:00
Pedro Algarvio
124e067733 Revert "Add pylint checker for file encoding"
This reverts commit 126c80397a.
2013-09-18 22:25:42 +01:00
Pedro Algarvio
620f9189b2 Revert "Recognize UTF-8 BOM and some other cases"
This reverts commit 25d0315626.
2013-09-18 22:25:33 +01:00
Pedro Algarvio
abf3c4d2f7 Revert "Rename the pylint plugin module."
This reverts commit 79fb639ef6.
2013-09-18 22:25:07 +01:00
Pedro Algarvio
3b59028e49 Revert "Rename the plugin."
This reverts commit 5dc0bb7b42.
2013-09-18 22:24:14 +01:00
David Anderson
39690b4431 PEP8 fixes for integration.mine.MineTest 2013-09-18 15:22:46 -06:00
David Anderson
3f6de80e27 Add test for mine.delete module 2013-09-18 15:07:04 -06:00
David Anderson
8137097c9e Add test for mine.flush module 2013-09-18 14:49:12 -06:00
Pedro Algarvio
5dc0bb7b42 Rename the plugin. 2013-09-18 18:09:33 +01:00
Pedro Algarvio
79fb639ef6 Rename the pylint plugin module. 2013-09-18 18:06:16 +01:00
Henrik Holmboe
25d0315626 Recognize UTF-8 BOM and some other cases 2013-09-18 17:19:38 +02:00
Henrik Holmboe
126c80397a Add pylint checker for file encoding
Discussed in #7294.
2013-09-18 15:48:04 +02:00
Pedro Algarvio
e18ba0758b Don't include authorship in generated documentation, the Sphinx way. 2013-09-16 17:24:00 +01:00
David Anderson
583d0b8a3e Add with_retcode options for ShellCase functions 2013-09-13 10:51:25 -06:00
David Anderson
1d7309970f Add with_retcode option to ShellCase.run_call(). Also adds a test case for https://github.com/saltstack/salt/issues/6973 - expect a non-zero exit code when running "salt-call --retcode-passthrough state.highstate" 2013-09-13 10:12:11 -06:00
Pedro Algarvio
a8e70d527e List pip from the right place. 2013-09-11 10:54:43 +01:00
Thomas S Hatch
e644de7e76 Merge pull request #7164 from dlanderson/fix_issue_7154
Fix #7154 - cmd.* should fail when cwd does not exist
2013-09-10 21:11:30 -07:00
Thomas S Hatch
4ab8d5eba5 Merge pull request #7161 from cvrebert/kwargs_warn_until
Add kwargs_warn_until() function
2013-09-10 21:10:51 -07:00
Thomas S Hatch
80f4aff88c Merge pull request #7143 from s0undt3ch/hotfix/pip-tests
Adapt and fix the changes from #6833
2013-09-10 21:08:06 -07:00
David Anderson
9163d2a00f Fix test description 2013-09-10 21:03:35 -06:00
David Anderson
d5d0aba61e Fix #7154 - cmd.* should fail when cwd does not exist 2013-09-10 20:57:41 -06:00
Chris Rebert
90f257df13 add salt.utils.kwargs_warn_until() 2013-09-10 17:12:25 -07:00
David Anderson
b383440302 Fix issue 6800. cwd=target was being passed to _run_check which blew up if target dir did not already exist. 2013-09-10 13:45:30 -06:00
Pedro Algarvio
725acec48b track_processes is no longer a valid `kwarg'. 2013-09-10 17:49:38 +01:00
Pedro Algarvio
1a071c0d2f opts not `options' 2013-09-10 12:21:41 +01:00
Pedro Algarvio
d7c2266eed Set the proper variables to chain the remote reports download. 2013-09-10 12:15:39 +01:00
Pedro Algarvio
ddd68a4dc1 Grab the proper option name 2013-09-10 12:15:19 +01:00
Pedro Algarvio
40ba994141 Support "chained" remote reports download with the test run execution. 2013-09-10 12:05:59 +01:00
Pedro Algarvio
70937172ce Adapt mocked tests to the changes in #6833 2013-09-10 11:13:16 +01:00
Pedro Algarvio
fc5212dce0 Add a test case for #6833. Refs #7130. 2013-09-10 10:52:17 +01:00
Pedro Algarvio
bd707c4763 Finish what was started in 53abda36 2013-09-10 10:40:10 +01:00
Colton Myers
b980a49948 Merge pull request #7128 from s0undt3ch/hotfix/pip-tests
Add another pip installed VCS test case using `git+git://`
2013-09-09 14:04:43 -07:00
Pedro Algarvio
5874f171b5 Re-work the report download steps. 2013-09-09 21:52:58 +01:00
Pedro Algarvio
22873f63bb Add another pip installed VCS test case using git+git:// 2013-09-09 20:53:52 +01:00
Pedro Algarvio
ab2168885b Pass the parsed options to the methods. 2013-09-09 20:45:57 +01:00
Pedro Algarvio
db017a4edf Support passing the workspace to work in. 2013-09-09 20:43:27 +01:00
Pedro Algarvio
6ef007de78 Typo 2013-09-09 11:56:48 +01:00
Pedro Algarvio
ba276f0b2a More generic error message since the commands continue to execute. 2013-09-09 11:48:59 +01:00
Pedro Algarvio
022fd37cae Remove existing local coverage xml report prior to downloading a new one. 2013-09-09 11:24:58 +01:00
Pedro Algarvio
35fe2cf951 Of course the VM's are always being deleted!!!! 2013-09-09 00:02:08 +01:00
Pedro Algarvio
581f498c9f Are any exceptions being raised? 2013-09-08 23:41:38 +01:00
Pedro Algarvio
6ba8b9efeb Fix removed back slashed single quote. More info displayed. 2013-09-08 18:48:32 +01:00
Pedro Algarvio
d11e9fdc2f Also pipe stdout 2013-09-08 18:18:21 +01:00
Pedro Algarvio
68bcc826c5 Don't split up commands. 2013-09-08 18:14:03 +01:00
Pedro Algarvio
799fa765b9 Add support to download xml coverage reports 2013-09-08 17:43:55 +01:00
Pedro Algarvio
2cc993a0d5 Add code to download XML unit test reports 2013-09-08 16:32:35 +01:00
Pedro Algarvio
5679c04874 Remove the quotes. 2013-09-08 12:07:27 +01:00
Pedro Algarvio
2bdddf2713 33cdd9e remove one of the checks, re-add it. 2013-09-08 12:07:27 +01:00
Pedro Algarvio
d0e006eff3 Flush output. 2013-09-08 12:07:27 +01:00
Pedro Algarvio
9ca574a2b3 Sleep a little before running the test suite remotely. 2013-09-06 17:36:05 +01:00
Pedro Algarvio
c2fd114496 Better VM name. Zero left padding build numbers. 2013-09-06 17:13:05 +01:00
Pedro Algarvio
23aa412ae2 Random part of VM name from build number if available. 2013-09-06 16:36:26 +01:00
Pedro Algarvio
03491874d0 Get the correct environment variable name. 2013-09-06 14:42:20 +01:00
Pedro Algarvio
3d6debf33a More explicit environment variable names. Detect Jenkins environment. 2013-09-06 14:40:01 +01:00
Pedro Algarvio
63f4dedfa4 Fix script 2013-09-06 12:59:24 +01:00
Pedro Algarvio
768796aab9 Some more env printing 2013-09-06 12:55:27 +01:00
Pedro Algarvio
e7c4d1ca55 Separate output 2013-09-06 12:46:52 +01:00
Pedro Algarvio
3414e6b1f0 Need a peek at the environment for debugging purposes. 2013-09-06 12:45:01 +01:00
Pedro Algarvio
41079433a6 Use the __dict__ attribute. 2013-09-06 12:32:22 +01:00
Pedro Algarvio
363e6fa3d2 Allow for a stepped Jenkins execution. 2013-09-06 12:14:27 +01:00
Pedro Algarvio
071917369f Adapt the test case to saltstack/salt@70b26f30b. Refs #4822 2013-09-05 23:35:36 +01:00
Pedro Algarvio
a3a8707d4a Create temporary directories first. 2013-09-05 23:32:48 +01:00
Pedro Algarvio
53abda36da Enforce integration.TMP usage. 2013-09-05 23:17:23 +01:00
Pedro Algarvio
3a569461b6 Since ssh.recv_known_host is now known to return None let's assert it's not None. 2013-09-05 23:13:13 +01:00
Pedro Algarvio
ba096cdedf ssh.recv_known_host is known to return None, should be flagged as such. 2013-09-05 23:06:41 +01:00
Pedro Algarvio
a55bc65f66 Check separately, the order can change. 2013-09-05 07:54:03 +01:00
Pedro Algarvio
2170af5717 Non zero exit codes should be considered errors. 2013-09-05 05:38:07 +01:00
David Boucha
22a2bf6e04 Merge pull request #7060 from s0undt3ch/develop
Suse user tests fixes
2013-09-04 20:57:17 -07:00
Pedro Algarvio
111171065f Suse based distributions(at least) complain when a username or group starts with digits. 2013-09-05 04:50:51 +01:00
Pedro Algarvio
2c6bfcedb7 Make use of the requires_system_grains decorator 2013-09-05 04:43:39 +01:00
Pedro Algarvio
1a2e9be5d4 Adapt test case to Suse based distributions. 2013-09-05 04:39:54 +01:00
David Boucha
5b76394850 Check for each service status individually
In case they self report out of order
2013-09-04 21:37:26 -06:00
Thomas S Hatch
5c270dbd92 Merge pull request #7056 from s0undt3ch/develop
Fix unwanted TRACE level messages
2013-09-04 19:37:34 -07:00
Pedro Algarvio
a685a05a0c Fix the salt CLI tools version check test case 2013-09-05 03:34:12 +01:00
David Boucha
3f1498364d Test service status separately
Sometimes the 2 services return in different orders so we'll test for
each one separately
2013-09-04 15:40:50 -06:00
Seth House
1ff3c953e6 Added sls and pillar as params
This change is backward compatible...but untested.
2013-09-04 14:29:41 -06:00
Pedro Algarvio
6d446ffa56 Use the requires_system_grains decorator from salt-testing 2013-09-04 20:05:41 +01:00
Pedro Algarvio
38bfa49e53 SuSE based distributions get the gid from users not the gid from it's name. Fixes #7003.
Full explanation about why is this can be seen here:

  https://github.com/saltstack/salt/issues/7003#issuecomment-23813071
2013-09-04 19:41:20 +01:00
David Boucha
1a216bf08c remove commented out code 2013-09-03 11:39:21 -06:00
David Boucha
fa489634a5 check for multiple strings in the test 2013-09-03 11:37:46 -06:00
David Boucha
6fd2146239 split those strings on their path 2013-09-03 00:53:10 -06:00
David Boucha
2dc500d1d7 remove trailing space 2013-09-01 23:40:39 -06:00
Pedro Algarvio
7e57813243 Always remove the users/groups added to the system 2013-09-02 05:51:29 +01:00
Pedro Algarvio
8d29140cdc Test user/group creation/deletion under FreeBSD 2013-09-02 05:50:06 +01:00
Thomas S Hatch
66daa60d75 Merge pull request #6976 from malinoff/fixed-range-syntax
Fixed range syntax
2013-08-31 19:49:41 -07:00
Thomas S Hatch
5ec6539ce5 Merge pull request #6967 from s0undt3ch/hotfix/tests-config-files
Adapt tests configuration to the running user.
2013-08-31 19:37:20 -07:00
=
3fdfe9120f Replaced range(len(collection)) with enumerate(collection) 2013-08-31 13:38:42 +07:00
Pedro Algarvio
7cdddf8bf8 Fix unit.log_test.TestLog.test_issue_2853_regex_TypeError to import the proper(renamed) logging module. 2013-08-30 19:32:39 +00:00
Pedro Algarvio
598fc60e3c Fix unit.log_test.TestLog.test_issue_2853_regex_TypeError by importing salt's logging from the proper module. 2013-08-30 19:32:39 +00:00
Pedro Algarvio
9eac31d6dd Use proper pip mirrors in integration.states.virtualenv.VirtualenvTest.test_issue_2594_non_invalidated_cache 2013-08-30 19:32:39 +00:00
Pedro Algarvio
d7c9db70e2 Adapt tests configuration to the running user.
Since salt's cli tools now try to change the user to the configured one, when running the tests suite as non-root, we need to adapt the user setting on the configuration files.
2013-08-30 17:25:28 +00:00
Pedro Algarvio
20c45fbb6d Updated test case to install from a requirements file. 2013-08-29 20:21:23 +00:00
Pedro Algarvio
610c30f359 pip.installed ownership testcase using user instead of runas. Refs #6912. 2013-08-29 17:30:27 +00:00
Pedro Algarvio
a38077248f Verify proper owner for pip.installed. Refs #6912
Added test case which verifies that the owner of the `pip.installed` package is the one provided by `runas`.
2013-08-29 17:30:27 +00:00
Pedro Algarvio
51a01ef79b Added mocked pip installation test-case for when pip's version is <=1.1 2013-08-29 10:57:50 +00:00
Pedro Algarvio
93c034e4ca Merge pull request #6949 from ranl/hosts
fix hosts file error in Travis
2013-08-29 02:55:54 -07:00
ranl
f42961081d fixing 61573b1394 (commitcomment-3967806) 2013-08-29 11:50:20 +03:00
Pedro Algarvio
25a72358ab Skip this test until properly mocked. 2013-08-28 15:21:29 +00:00
Pedro Algarvio
57feb4a015 One more missing import 2013-08-28 15:21:29 +00:00
Pedro Algarvio
5ea856c104 Fix missing import 2013-08-28 15:21:29 +00:00
Pedro Algarvio
2b64d0482d Make sure every temp dir created on the unittests respects, integration.SYS_TMP_DIR 2013-08-27 15:31:58 +00:00
Pedro Algarvio
456360dc32 Fix test expected output plus an additional one for pip git install. 2013-08-26 17:05:47 +00:00
Pedro Algarvio
6e694791fb Allow tests to be properly skipped if mock is not installed. 2013-08-26 17:05:44 +00:00
Pedro Algarvio
57a69f1ff8 Adapted integration.modules.django to use salttesting.mock 2013-08-26 13:03:08 +00:00
Pedro Algarvio
6d06e12e22 Adapted integration.modules.cmdmod to use salttesting.mock 2013-08-26 13:03:08 +00:00
Pedro Algarvio
5d26a9fd4b Adapted unit.states.rvm_test to use salttesting.mock 2013-08-26 13:03:08 +00:00
Pedro Algarvio
23fa44ff58 Adapted unit.states.pip_test to use salttesting.mock 2013-08-26 13:03:08 +00:00
Pedro Algarvio
8f44dec13e Adapted unit.states.gem_test to use salttesting.mock 2013-08-26 13:03:08 +00:00
Pedro Algarvio
ef29861ff3 Adapted unit.states.file_test to use salttesting.mock 2013-08-26 13:03:07 +00:00
Pedro Algarvio
2eab51a429 Adapted unit.utils.warnings_test to use salttesting.mock 2013-08-26 13:03:04 +00:00
Pedro Algarvio
296c83be1f Adapted unit.pillar_test to use salttesting.mock 2013-08-26 13:01:02 +00:00
Pedro Algarvio
91fa38aea2 Adapted unit.payload_test to use salttesting.mock 2013-08-26 13:00:10 +00:00
Pedro Algarvio
d33415c73a Adapted unit.modules.rvm_test to use salttesting.mock 2013-08-26 13:00:10 +00:00
Pedro Algarvio
220aa48e24 Adapted unit.modules.poptgres_test to use salttesting.mock 2013-08-26 13:00:10 +00:00
Pedro Algarvio
6bc17f0c1b Adapted unit.modules.pip_test to use salttesting.mock 2013-08-26 13:00:10 +00:00
Pedro Algarvio
64d20afec9 Adapted unit.modules.gem_test to use salttesting.mock 2013-08-26 13:00:10 +00:00
Pedro Algarvio
2acd67bc59 Adapted unit.modules.archive_test to use salttesting.mock 2013-08-26 13:00:07 +00:00
Pedro Algarvio
8646fcb012 Adapted unit.modules.win_status_test to use salttesting.mock 2013-08-26 12:59:15 +00:00
Pedro Algarvio
fe0d7dc048 Adapted unit.modules.alternatives_test to use salttesting.mock 2013-08-26 12:59:12 +00:00
Pedro Algarvio
371f08a959 Adapted unit.modules.virtualenv to use salttesting.mock 2013-08-26 12:58:04 +00:00
Pedro Algarvio
5075898935 No absolute imports. 2013-08-22 21:45:45 +01:00
Pedro Algarvio
52b8da5d13 Adapt to the output when installing a package from a compressed file. 2013-08-22 21:06:06 +01:00
Pedro Algarvio
c78738b87a Adapt test results to the expected output. 2013-08-22 19:02:32 +01:00
Pedro Algarvio
df8bdf8646 By forcing absolute imports, we don't have to rename the pip state module. 2013-08-22 19:02:18 +01:00
Pedro Algarvio
aea94fd6a2 Another example test case. 2013-08-22 19:02:18 +01:00
Pedro Algarvio
e70827371f Some more requirements parsing tests 2013-08-22 19:02:18 +01:00
Pedro Algarvio
58ad040872 Use pip.req for parsing package requirements. Minimal tests. 2013-08-22 19:02:17 +01:00
Pedro Algarvio
1a12829637 Switched arguments in SaltReturnAssertsMixIn.assertInSaltReturn() 2013-08-22 19:02:17 +01:00
Pedro Algarvio
2c09600ea4 Switched arguments in SaltReturnAssertsMixIn.assertNotInSaltReturn() 2013-08-22 19:02:17 +01:00
Pedro Algarvio
ae5d9f5038 Switched arguments in SaltReturnAssertsMixIn.assertNotInSaltComment() 2013-08-22 19:02:17 +01:00
Pedro Algarvio
b880af89e1 Switched arguments in SaltReturnAssertsMixIn.assertInSaltComment() 2013-08-22 19:02:17 +01:00
Pedro Algarvio
f9176a9064 Let's try Popen. 2013-08-22 12:27:58 +01:00
Pedro Algarvio
e817f0087a Redirect stderr to stdout. 2013-08-22 11:59:25 +01:00
Pedro Algarvio
0860da1852 Add debug print to check if communicate is doin' the right thing. 2013-08-21 23:41:27 +01:00
Pedro Algarvio
8100b41c7e Fixed splitting named unittests from named integration tests.
This commit got lost somewhere. I could swear I committed this fix previously...
2013-08-21 19:23:16 +01:00
Pedro Algarvio
bd002f97da Revert "By enforcing absolute imports, there's no need for module name aliases."
This reverts commit a1a2b49a72.
2013-08-20 23:44:05 +01:00
Pedro Algarvio
9353dcafd3 Revert "salt.modules.cmdmod renamed to salt.modules.cmd while enforcing absolute imports."
This reverts commit 3fa341280b.
2013-08-20 23:44:03 +01:00
Pedro Algarvio
d598a8074e Revert "Renamed djangomod module and state to django while enforcing absolute imports."
This reverts commit 2f4d82b295.
2013-08-20 23:43:56 +01:00
Pedro Algarvio
2f4d82b295 Renamed djangomod module and state to django while enforcing absolute imports. 2013-08-19 16:13:38 +01:00
Pedro Algarvio
3fa341280b salt.modules.cmdmod renamed to salt.modules.cmd while enforcing absolute imports. 2013-08-19 13:45:56 +01:00
Pedro Algarvio
a1a2b49a72 By enforcing absolute imports, there's no need for module name aliases. 2013-08-19 13:23:46 +01:00
Pedro Algarvio
49a6cfdc51 On bootstrap failure, also cleanup. 2013-08-17 07:59:13 +01:00
Pedro Algarvio
d66609c630 Revert "Make salt-cloud run our testrun state to get a streamed output"
This reverts commit d8b011d103.
2013-08-17 06:06:51 +01:00
Pedro Algarvio
09cb137ec7 Revert "salt-call does not support timeout"
This reverts commit 20de21df07.
2013-08-17 06:06:41 +01:00
Pedro Algarvio
2dd1cb2a83 Revert "Let's try to get the test suite output"
This reverts commit 1ab4b0ca7b.
2013-08-17 06:06:29 +01:00
Pedro Algarvio
1ab4b0ca7b Let's try to get the test suite output 2013-08-17 05:40:05 +01:00
Pedro Algarvio
20de21df07 salt-call does not support timeout 2013-08-17 05:32:32 +01:00
Pedro Algarvio
d8b011d103 Make salt-cloud run our testrun state to get a streamed output 2013-08-17 05:26:33 +01:00
Pedro Algarvio
0c0751e793 Adapt the test case to the changes introduced in 7e9e889 2013-08-16 20:26:48 +01:00
Pedro Algarvio
2f750ed06c Allow network related tests to be skipped if no network is available. Fixes #6710. 2013-08-16 02:02:37 +01:00
Erik Johnson
945c3a22c8 allow cp.recv to fail integration.modules.sysmod.SysModuleTest 2013-08-14 20:29:31 -05:00
Erik Johnson
176ab16f40 adjust "CLI Example" test 2013-08-14 20:17:39 -05:00
Pedro Algarvio
a4ce13a285 The jenkins version of salt does not support log level on the salt binary. 2013-08-14 12:59:55 +01:00
Pedro Algarvio
2334ce41e6 Run salt and salt-cloud with debug logging. 2013-08-14 12:51:12 +01:00
Pedro Algarvio
1f02553ead Some more information about the bootstrap process. 2013-08-14 12:49:40 +01:00
Pedro Algarvio
1068406ca5 Fixed integration.states.pip.PipStateTest.test_pip_installed_errors error regex.
It was failing to match on FreeBSD.
2013-08-14 12:29:34 +01:00
Pedro Algarvio
a1cd0ef29d Show what the salt function returned in case of assertion errors. 2013-08-14 00:35:58 +01:00
Pedro Algarvio
b51b5cfb9e Flush stdout and say which exit code was thrown. 2013-08-13 15:47:11 +01:00
Pedro Algarvio
fcc74d9c56 Exit if the bootstrap process did not succeed. 2013-08-13 15:33:03 +01:00
Pedro Algarvio
90d375d14e If SHELL is not in the environ, the error message is different. 2013-08-13 14:17:41 +01:00
Pedro Algarvio
1ad2ceb5e1 Flush print messages. 2013-08-13 11:55:17 +01:00