Commit Graph

79023 Commits

Author SHA1 Message Date
Pedro Algarvio
e180f1e913
Normalize the mode 2017-03-03 15:15:13 +00:00
Pedro Algarvio
b07633e326 Merge pull request #39816 from s0undt3ch/develop
Minor fixes to running tests
2017-03-03 15:14:48 +00:00
Pedro Algarvio
3b0b60dd9f
Error out when the path passed is not valid tests module 2017-03-03 12:41:27 +00:00
Pedro Algarvio
c687b6112a
Account for test module names prefixed with tests. 2017-03-03 12:41:27 +00:00
Mike Place
251c85bd81 Merge pull request #39803 from bodhi-space/infra4579
INFRA-4579 - small fixes for boto3_elasticache state module
2017-03-02 22:29:58 -07:00
Mike Place
9ce11794b7 Merge pull request #39800 from twangboy/win_fix_test_useradd
Fix test_add_user_to_group for Windows
2017-03-02 22:26:35 -07:00
Mike Place
02f00a9c41 Merge pull request #39795 from twangboy/fix_whitelist
Fix incorrect test name
2017-03-02 22:16:37 -07:00
Pedro Algarvio
ac998c3398 Merge pull request #39801 from s0undt3ch/develop
Stop returning `None`
2017-03-03 01:03:05 +00:00
Pedro Algarvio
cc4ead3eba
Stop returning None
Prevents:
```
23:21:32,673 [salt.loader                                :1634][WARNING ] salt.loaded.int.engines.stalekey.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'stalekey', please fix this.
```
2017-03-02 23:22:42 +00:00
Tom Williams
861d083845 INFRA-4579 - fix some deref errors I introduced awhile back, a small docstring fix, and increase default timeouts for cache subnet group and replication group creations 2017-03-02 18:16:54 -05:00
twangboy
25938ebc8e Fix test_add_user_to_group for Windows 2017-03-02 15:40:22 -07:00
Pedro Algarvio
cb293f2f6d Merge pull request #39649 from s0undt3ch/features/py3
Moar Py3
2017-03-02 21:16:51 +00:00
Pedro Algarvio
ab4f0aac6a Merge pull request #39792 from s0undt3ch/features/pytest-salt-daemons
Allow passing a test module path to runtests.py to run its tests
2017-03-02 21:16:04 +00:00
twangboy
eb0b7227e9 Fix incorrect test name 2017-03-02 13:31:52 -07: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
Pedro Algarvio
519a3f689e
These tests are not destructive 2017-03-02 19:56:06 +00:00
Pedro Algarvio
31df825a1c
Set the ssh_log_file relative 2017-03-02 19:56:06 +00:00
Pedro Algarvio
560edcf6f6
The ssh_log_file setting should also have the root_dir prefixed 2017-03-02 19:56:05 +00:00
Pedro Algarvio
fc501e93ac
Remove deprecated options 2017-03-02 19:56:05 +00:00
Pedro Algarvio
cbef6c044f
Re-enable the test since we now have the flaky decorator 2017-03-02 19:56:05 +00:00
Pedro Algarvio
96bcaf5365
The order is shady under Py3
/cc @cachedout @rallytime
2017-03-02 19:56:05 +00:00
Pedro Algarvio
7b4d849540
Moved some test supporting modules to tests/support
Previously they were in tests/utils which also had test case modules.
2017-03-02 19:56:05 +00:00
Pedro Algarvio
8e3acf5ba5
to_unicode should also handle bytearray 2017-03-02 19:56:04 +00:00
Pedro Algarvio
8d6d67de92
Try to decode bytes to string under Py3. If it fails, its a binary file. 2017-03-02 19:56:04 +00:00
Pedro Algarvio
01d6ee176d
Try to parse the content-type headers in order to get the encoding for text files 2017-03-02 19:56:04 +00:00
Pedro Algarvio
979090d225
We need bytes under Py3 to compute the hash 2017-03-02 19:56:04 +00:00
Pedro Algarvio
f98ae60445
We need bytes to gzip under Py3 2017-03-02 19:56:04 +00:00
Pedro Algarvio
c545990d07
We get bytes under Py3 2017-03-02 19:56:03 +00:00
Mike Place
8de198f9b1 Merge pull request #39655 from twangboy/win_fix_renderers_tests
Fix renderers tests for Windows
2017-03-02 12:27:26 -07:00
Pedro Algarvio
661b6416b7
Allow passing a test module path to runtests.py to run its tests
Example:

```
python tests/runtests.py -v tests/integration/states/test_alternatives.py
```
2017-03-02 19:12:43 +00:00
Mike Place
e558ce5d23 Merge pull request #39787 from s0undt3ch/features/pytest-salt-daemons
Try to reduce memory consumption during full test runs
2017-03-02 11:17:44 -07:00
Pedro Algarvio
9711f65d70
Try to reduce memory consumption during full test runs 2017-03-02 18:13:54 +00:00
Shane Lee
eb6d317289 Merge branch 'develop' into win_fix_renderers_tests 2017-03-02 10:29:36 -07:00
Mike Place
71410047f0 Merge pull request #39682 from ni3mm4nd/mongodb_user
Add support for user roles in present state
2017-03-02 10:17:38 -07:00
Mike Place
21738a4cf1 Merge pull request #39756 from zhihan/develop
Handle special cases in exit_success
2017-03-02 09:40:48 -07:00
Mike Place
bbbbcd54f2 Merge pull request #39765 from UtahDave/develop
Add another working example to help clarify module.run
2017-03-02 09:25:15 -07:00
Mike Place
e48036a05d Merge pull request #39773 from twangboy/win_file_dacl
Make win_file use the win_dacl salt util
2017-03-02 09:24:50 -07:00
Mike Place
671600ab87 Merge pull request #39785 from techhat/setupshare
Fix paths from SPM files PR
2017-03-02 09:06:43 -07:00
Joseph Hall
829f7008f1 Fill in a couple more spots 2017-03-02 05:27:20 -07:00
Joseph Hall
7ebf1cf104 Fix paths from SPM files PR 2017-03-02 05:17:42 -07:00
Mike Place
2d711782e8 Merge pull request #39736 from techhat/spmstates
Add pre and post states to SPM
2017-03-01 19:57:41 -07:00
Mike Place
7992df44b6 Repr comment 2017-03-01 19:57:13 -07:00
twangboy
7ef41155c0 Make win_file use the win_dacl salt util 2017-03-01 17:57:23 -07:00
Joseph Hall
bdb26ddf83 Create master cache dir 2017-03-01 16:09:13 -07:00
Mike Place
1926e90d47 Merge pull request #39648 from twangboy/win_fix_loader_tests
Fix ext_grains and ext_modules tests for Windows
2017-03-01 15:12:42 -07:00
twangboy
ad654abc20 Clarify the reason for the while loop 2017-03-01 14:00:06 -07:00
twangboy
25b6d221c4 Fix ext_grains and ext_modules tests for Windows 2017-03-01 14:00:06 -07:00