Matt Clay
62e6f6b885
Add junit-xml to docker images.
9 years ago
jctanner
3b3ab605f6
Add a get_url test for www.google.com ( #16212 )
...
Add a get_url test for www.google.com
Addresses #16191
9 years ago
Dag Wieers
d91df20620
Fix unit tests for module_name commit #16087
9 years ago
Brian Coca
a529a60478
raw should not use default executable ( #16085 )
...
also removed unused cruft in script
9 years ago
Toshio Kuratomi
872f3c5503
Revert "Add git shallow fetch test ( #16055 )" -- Broke integration tests:
...
https://app.shippable.com/runs/57599a7897ae890c00c2898d
This reverts commit e81f14ab48
.
9 years ago
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.
9 years ago
James Cammarata
fbec2d9692
Expand return code values returned by TQM and strategies
...
This allows the PlaybookExecutor to receive more information regarding
what happened internal to the TaskQueueManager and strategy, to determine
things like whether or not the play iteration should stop.
Fixes #15523
9 years ago
Matt Clay
03597143d0
Detect use of Travis tests on Shippable.
...
This can occur when building pre-Shippable branches or PRs.
9 years ago
James Cammarata
61f132a609
Adding unit tests for playbook group/host vars
9 years ago
Toshio Kuratomi
5a3493be5f
Port urls.py to python3 and other byte vs text fixes ( #16124 )
...
* Port urls.py to python3
Fixes (largely normalizing byte vs text strings) for python3
* Rework what we do with attributes that aren't set already.
* Comments
9 years ago
Matt Clay
6e1e86028f
Split integration tests into multiple groups.
...
This will allow tests to complete much faster.
9 years ago
Toshio Kuratomi
73bb06ae84
Fix the code-smell tests for six again
9 years ago
Adrien Vergé
4d48711242
Fix YAML source and check it on Shippable ( #15678 )
...
Fix YAML source and check it on Shippable
9 years ago
Matt Clay
643a7ec01d
Merge pull request #16126 from mattclay/shippable-fix
...
Update how shippable scripts are called.
9 years ago
Matt Clay
7a533406f9
Merge pull request #13145 from Mic92/devel
...
lxc connection plugin
9 years ago
Matt Clay
6d74f43eff
Update how shippable scripts are called.
9 years ago
Saran Ahluwalia
fda927a14b
added failing test for testing if executable is not empty string
9 years ago
Matt Clay
b0e1efbd62
Add full support for Shippable CI.
9 years ago
Toshio Kuratomi
08fd017d99
Test file needed to be renamed
9 years ago
Toshio Kuratomi
2a5ef4496a
Workaround test failures on OSX controllers for now -- will have to look
...
more heavily into normailizing the unicode later.
9 years ago
Toshio Kuratomi
f86df7c88b
Test that task.args are also set properly ( #15950 )
9 years ago
Adrian Likins
644f0fb190
Merge pull request #15178 from alikins/galaxy_info_output
...
galaxy info displayed 'galaxy_info' section wrong [fix for #15177 ]
9 years ago
Brian Coca
3387d557bc
Revert "Add prefixing and suffixing fuctionality to assemble module" ( #16084 )
9 years ago
Matt Clay
e45b3b89a2
Skip some service tests for systemd.
9 years ago
jctanner
c52cea8db3
Add a framework, fixtures and test for common synchronize scenarios. ( #15983 )
...
* Add a framework, fixtures and test for common synchronize scenarios.
Addresses #15905
9 years ago
Chris Houseknecht
ce34397cf8
Merge pull request #10399 from underyx/assemble-with-prefix-and-suffix
...
Add prefixing and suffixing fuctionality to assemble module
9 years ago
jctanner
373b23cc24
Fix mock loader for osx /etc symlinks ( #16074 )
...
Fix role based unit tests for osx via mock.patch
9 years ago
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
9 years ago
Bence Nagy
13210e346f
Add integration test for assemble with a header and a footer
9 years ago
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.
9 years ago
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.
9 years ago
Adrian Likins
1468538414
galaxy info displayed 'galaxy_info' section wrong
...
The output of 'ansible-galaxy info' was formatting the
'galaxy_info' key with one char per line.
Previously, when building the output string, items in
role_info that had a dict for value, the label for
it's key ('galaxy_info' for ex) was being added to
the text list in addition to being appended. Only
the append is needed.
Also added a unit test in test/units/cli/test_galaxy.py,
but skip it on py3 until galaxy is py3 compatible.
fixes #15177
9 years ago
jctanner
018d3c3118
Add a new vmware inventory script backed by pyvmomi ( #15967 )
...
Add a new dynamic vmware inventory script backed by pyvmomi
9 years ago
Jörg Thalheim
88482234e6
lxc connection plugin
9 years ago
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
9 years ago
Matt Clay
b755bcd875
Corrected reference to httptester container.
9 years ago
Matt Martz
164f247ec8
Add httptester docker container files and update run_tests.sh to use ansible/httptester
9 years ago
Brian Coca
329c62e914
docker was deprecated, test now reflects new name
9 years ago
Toshio Kuratomi
650bfdce8f
Update grep for six to not falsely trigger when six is only a substring of a different library
9 years ago
Robin Roth
0edec45c3d
install packages for tests ( #15979 )
...
* curl is needed for test_binary_modules
* glibc-i18ndata is needed for postgresql (localedef)
9 years ago
John R Barker
1861151fa4
[WIP] Extra test and build dependencies in Docker images ( #15692 )
...
* Merge conflicts:
* [skip ci] Revert changes to run_tests.sh
gundalow will update this in a different PR
* [skip ci] Add in ubuntu1604 and opensuseleap
NOTE: We are not configuring anything to use these new images yet.
Therefore no impact on Travis performance
* python-mysql for opensuse
* It's mysql-server on centos6
9 years ago
Toshio Kuratomi
b41b6b2ec5
Update test off make_become for ssh pty race mitigation ( #15931 )
9 years ago
nitzmahone
42f6114b61
fix windows integration tests to run under kerberos users
9 years ago
Michael Scherer
376fc21f92
Add a exception for module_utils/six.py regarding code smell ( #15878 )
...
Since six replace urlopen, it is normal to trigger the test,
hence the exception
9 years ago
Michael Scherer
cc61531a74
Do not test vca and vmware.py for py2.4 ( #15887 )
...
Since both of them depend on libraries not
working on python 2.4, we shouldn't restrict
ourself on 2.4, cf https://github.com/ansible/ansible/pull/15870
9 years ago
Robin Roth
85477fa215
Don't use 'from ansible.module_utils import foo' style here as it breaks ( #15756 )
...
py.test"
9 years ago
Toshio Kuratomi
c1cc9f1f23
Merge pull request #15845 from abadger/ziploader-constants
...
Ship constants to the modules via internal module params rather than a secondary dict
9 years ago
Toshio Kuratomi
186337db28
Ship constants to the modules via internal module params rather than a secondary dict.
9 years ago
Matt Davis
bc7405efc9
Merge pull request #15797 from robinro/patch-1
...
reduce async timeout in unittests
9 years ago
Matt Martz
196453b9b2
Merge pull request #13771 from sivel/binary-modules
...
First pass at allowing binary modules
9 years ago