James Cammarata
cd4412016a
Updating integration tests for async testing
2016-07-07 13:48:11 -05:00
Matt Davis
30c63a41e9
Merge pull request #16555 from matsu-chara/fix-error-msg-default-to-defaults
...
fix default/main.yml to defaults/main.yml
2016-07-07 11:14:54 -07:00
Matt Clay
9a6b8ab271
Add more tags to test_async role.
2016-07-07 10:38:41 -07:00
Robin Roth
d0ccedc617
Fix git shallow update ( #16224 )
...
* add git shallow fetch test
covers https://github.com/ansible/ansible-modules-core/issues/3782
updating a repo with depth=1 fails silently if version==HEAD
* raise git version support supporting depth to 1.9.1
2016-07-05 15:07:42 -04:00
Robin Roth
8021adfe97
use git-core ppa instead of menulibre
...
menulibre is no longer actively maintained and does not support 16.04
2016-07-03 15:18:08 +02:00
Robin Roth
a5e394d23a
reenable apt_repository tests in ubuntu 16.04
...
fixes #15718
2016-07-03 14:43:04 +02:00
matsu-chara
9f8b0cabcd
fix default/main.yml to defaults/main.yml
2016-07-02 21:16:33 +09:00
Matt Clay
4e369a31db
Fix test_async. ( #16552 )
...
* Conditionally run test_async in docker containers.
* Revise test_async test.
2016-07-01 17:59:06 -07:00
Matt Clay
292785ff2b
Parse async response in async action. ( #16534 )
...
* Parse async response in async action.
* Add async test for non-JSON data before module output.
* Fix existing async unit test.
Resolves #16156
2016-07-01 14:52:45 -07:00
Abhijit Menon-Sen
950cc26aab
Use loop_control.loop_var directly
...
6eefc11c
converted task.loop_control into an object, but while the other
callers were updated to use .loop_var instead of .get('loop_var'), this
site was overlooked.
This can be reproduced by including with loop_control a file that does
set_fact; a simple regression test along these lines is included.
2016-07-01 07:03:42 +05:30
Matt Clay
394430a61e
Switch test_lookups to badssl/local testing. ( #16466 )
...
* Switch test_lookups to badssl/local testing.
* Use var for checking badssl host content.
2016-06-27 18:58:13 -07:00
Pilou
b361bf90d7
Lookup password omit salt ( #16361 )
...
* Lookup unencrypted password must not include salt
* Integration test lookup: remove previous directory
* Test that lookup password doesn't return salt
* Lookup password: test behavior with empty encrypt parameter
Closes #16189
2016-06-27 10:44:25 -07:00
nitzmahone
1f92ade584
add integration test to assert included tasks run in proper order
2016-06-23 17:53:08 -07:00
jctanner
b7f9037b5b
Add test for multi-options in authorized_key ( #16375 )
...
Addresses https://github.com/ansible/ansible-modules-core/issues/1715
2016-06-20 21:12:45 -04:00
nitzmahone
7bc3be64ae
fix win_setup integration test to match fact name
2016-06-17 12:28:32 -07:00
=
9857af2b6e
added further tests for win_regedit to cover the changes made
...
under https://github.com/ansible/ansible-modules-extras/pull/2436
2016-06-16 06:37:49 +01:00
jctanner
3b3ab605f6
Add a get_url test for www.google.com ( #16212 )
...
Add a get_url test for www.google.com
Addresses #16191
2016-06-13 10:59:42 -07:00
Toshio Kuratomi
872f3c5503
Revert "Add git shallow fetch test ( #16055 )" -- Broke integration tests:
...
https://app.shippable.com/runs/57599a7897ae890c00c2898d
This reverts commit e81f14ab48
.
2016-06-09 14:49:42 -07:00
Robin Roth
e81f14ab48
Add git shallow fetch test ( #16055 )
...
* add git shallow fetch test
covers https://github.com/ansible/ansible-modules-core/issues/3782
updating a repo with depth=1 fails silently if version==HEAD
* disable git shallow tests for old git versions
Older git versions don't treat the --depth option correctly.
While the git module tried to work around this and introduced subtle
bugs, ansible/ansible-modules-core#3794 falls back to full checkouts.
Don't run the tests then.
2016-06-09 09:33:57 -07:00
Matt Clay
6e1e86028f
Split integration tests into multiple groups.
...
This will allow tests to complete much faster.
2016-06-04 12:02:11 -07:00
Adrien Vergé
4d48711242
Fix YAML source and check it on Shippable ( #15678 )
...
Fix YAML source and check it on Shippable
2016-06-04 10:58:17 -07:00
Matt Clay
7a533406f9
Merge pull request #13145 from Mic92/devel
...
lxc connection plugin
2016-06-03 10:09:04 -07:00
Toshio Kuratomi
08fd017d99
Test file needed to be renamed
2016-06-01 13:50:57 -07:00
Toshio Kuratomi
2a5ef4496a
Workaround test failures on OSX controllers for now -- will have to look
...
more heavily into normailizing the unicode later.
2016-06-01 13:35:11 -07:00
Brian Coca
3387d557bc
Revert "Add prefixing and suffixing fuctionality to assemble module" ( #16084 )
2016-06-01 09:17:10 -04:00
Matt Clay
e45b3b89a2
Skip some service tests for systemd.
2016-05-31 20:12:55 -07:00
Chris Houseknecht
ce34397cf8
Merge pull request #10399 from underyx/assemble-with-prefix-and-suffix
...
Add prefixing and suffixing fuctionality to assemble module
2016-05-31 18:16:23 -04:00
Robin Roth
c06884eff0
Run tests on ubuntu1604 and opensuseleap ( #15936 )
...
* reduce async sleep time in test
* make zypper test less destructive (don't break following uses of zypper)
* fix ca cert on suse
* fix/enable postgres/mysql on opensuseleap
* fix mysql test for mysql versions 5.7.6 and newer
* skip sni_host check on ubuntu1604
* add HTTPTESTER flag for test_uri
ubuntu 16.04 uses dash which drops env variables containing a dot
we work around this by adding an explicit env variable to enable httptester
2016-05-31 14:47:36 -07:00
Bence Nagy
13210e346f
Add integration test for assemble with a header and a footer
2016-05-31 14:44:33 -07:00
Matt Clay
027006b846
Don't use TEST_FLAGS for the test_tags target.
...
This allows use of --skip-tag in TEST_FLAGS without conflicting with the test.
2016-05-31 14:35:24 -07:00
Matt Clay
844b415066
Mark tasks expected to fail with EXPECTED FAILURE.
...
This allows for automated identification of tasks which are
expected to fail, but which cannot use ignore_errors because
they need to fail.
2016-05-31 11:29:04 -07:00
Jörg Thalheim
88482234e6
lxc connection plugin
2016-05-28 00:15:09 +02:00
Toshio Kuratomi
c03555b650
Fix unarchive failures when the destination is a symlink to a directory ( #15999 )
...
Also add integration tests for this problem and unicode filenames inside
a tarball.
Fixes #3725
2016-05-26 14:47:11 -07:00
nitzmahone
42f6114b61
fix windows integration tests to run under kerberos users
2016-05-17 13:40:54 -07:00
Matt Martz
651b83d8be
Run test_binary_modules
2016-05-12 12:53:44 -05:00
Matt Martz
2d18607f1e
Add GPL3 header to helloworld.go
2016-05-12 12:25:09 -05:00
Matt Martz
6ad8ec0919
Add integration tests for binary modules
2016-05-12 12:25:09 -05:00
Matt Martz
accf40d8a8
Use httptester docker image for http tests ( #15811 )
...
* Use httptester docker image for http tests
* When not running with an httptester linked container, use public test sites
2016-05-10 23:43:07 -04:00
Toshio Kuratomi
7ccb08cc7e
Switch to a different url for testing SNI right now. ( #15798 )
2016-05-10 07:08:47 -07:00
Rene Moser
5583027f99
tests, postgresql: add ubuntu 16.04 support
2016-05-04 00:11:19 +02:00
Rene Moser
39e4caafb2
tests, apt_repository: disable Ubuntu 16.04 as there is no package yet
2016-05-04 00:11:19 +02:00
Rene Moser
c20d1fced7
tests: fix tests on Debian 8
2016-05-04 00:11:19 +02:00
Robin Roth
cf62a62b83
use userdir module as example instead of alias ( #15540 )
...
* alias module is very basic and removing it leads to the suse default
config failing
* future improvements might test different modules and the effect of
them being removed
2016-05-04 00:09:26 +02:00
Yannig
3901556b35
When var name is the same as var content, try to template it before reporting that var is not defined. ( #13629 )
...
* When var name is the same as var content, try to template it before reporting that var is not defined.
Add asserts in test_var_blending to check this special corner case.
* Fix integration tests when using debug with list or dict.
2016-05-01 06:42:09 -07:00
Matt Davis
ca5080d56b
Merge pull request #15570 from jhawkesworth/regedit_fix_str_compare_tests
...
win_regedit integration test to cover change to allow empty string comparison
2016-04-29 11:03:30 -07:00
Robin Roth
12f7f50f31
extend zypper integration tests ( #15596 )
...
* extend zypper integration tests
* fix caching issue of local RPMS on openSUSE 42.1 Leap
* add tests for simultaneous install/remove via prefixes +-
* test fail cases (rm patch or URL)
* test patch install (succes, unchanged second run, fail on wrong name)
* add test for pattern install
2016-04-27 08:04:58 -07:00
Toshio Kuratomi
85bef402b1
Merge pull request #14614 from gundalow/test_binary
...
non-destructive says we should run test_binary at v2
2016-04-25 09:45:00 -07:00
=
bd74091ed9
win_regedit integration test to cover change to allow empty strings to be compared
2016-04-24 17:24:03 +01:00
jctanner
4d36b3f7b6
Extend the get_url integration tests to include file schemas. ( #15532 )
...
Addresses https://github.com/ansible/ansible-modules-core/issues/3511
2016-04-22 11:38:03 -07:00
Robin Roth
7a4e4c2b02
extend integration test for zypper_repository ( #15387 )
...
* include options refresh and priority introduced in ansible/ansible-modules-extras#1990
* test repo update both based on name and URL
* run on all suse flavors
* test overwriting repos by url or name
2016-04-21 20:10:29 +02:00