Commit Graph

553 Commits (ca41dbb60381eab09234012201f8a97bb9d037d2)

Author SHA1 Message Date
James Cammarata 6b1648f708 Mass update of test/ directory from devel 10 years ago
Matt Martz ecdf07eebf Add/improve tests for the uri module 10 years ago
James Cammarata e88934e1d7 Tweak block integration tests to also test the free strategy 10 years ago
James Cammarata 5ee599f3ee Removing .out file for integration tests and adding to .gitignore 10 years ago
James Cammarata 0e4ef296c0 Adding block integration tests 10 years ago
Toshio Kuratomi f601d29ce2 Change url so that we don't test https in the tests for file perms 10 years ago
Toshio Kuratomi 890998d07e Add integration test for #11821 10 years ago
James Cammarata 94afe2f0de Fix for copy test as ansible_ssh_user is not set by default now 10 years ago
James Cammarata 7a8520ac1a Fixing role dependency chain creation
The dep chain for roles created during the compile step had bugs, in
which the dep chain was overwriten and the original tasks in the role
were not assigned a dep chain. This lead to problems in determining
whether roles had already run when in a "diamond" structure, and in
some cases roles were not correctly getting variables from parents.

Fixes #14046
10 years ago
Sergii Korochkin c52a35ff34 [hotfix] add missed playbook file 10 years ago
Sergii Korochkin 16ee2090bd Adding support for scm-based role source urls (incl. integration test to cover it) 10 years ago
Toshio Kuratomi f53cb5f63e Integration tests for https://github.com/ansible/ansible-modules-core/pull/558 10 years ago
Toshio Kuratomi a8f160d2fd More fixes for unicode handling in the connection plugins.
Tested that ssh, docker, local, lxc-libvirt, chroot all work with the
updated unicode integration test.
10 years ago
Toshio Kuratomi add2e9cbd1 Fix problems with non-ascii values passed as part of the command to connection plugins
@drybjed discovered this with non-ascii environment variables and
command line arguments to script and raw module.
10 years ago
Rene Moser 369ed9feed cloudstack: test_cs_instance: more integration tests
cloudstack: extend test_cs_instance addressing recovering

cloudstack: test_cs_instance: add tests for using display_name as indentifier.
10 years ago
James Cammarata 0a6bc57fa5 Parallelize make command for integration test runner
Also adds a new var, used by the prepare_tests role, to prevent it from
deleting the temp test directory at the start of each play to avoid any
potential race conditions
10 years ago
James Cammarata 81f09f3fbd Disable docker test for Fedora, due to broken packaging 10 years ago
James Cammarata b77d834239 Uncomment docker test for stable-2.0 10 years ago
Toshio Kuratomi 80e109e1ad And change the task a little more since different shlex versions are handling the quotes differently 10 years ago
Toshio Kuratomi fdc562e3c3 Fix test playbook syntax 10 years ago
Toshio Kuratomi 1dcfd7ba02 Since the velox test server seems to be dropping using iptables to drop requests from aws, test via a different website instead 10 years ago
Toshio Kuratomi 5bd01c09d6 Troubleshooting has reduced us to this 10 years ago
Toshio Kuratomi 1d1a04008e Update mysql setup to handle installing mysql with dnf too. 10 years ago
Toshio Kuratomi 3955ea5a8a Fixes for tests that assumed yum as package manager for systems that
have dnf
10 years ago
Toshio Kuratomi 87214005d2 Make tests that use kennethreitz retry. 10 years ago
Toshio Kuratomi dca880d04a kennetreitz.org times out but www.kennethreitz.org is fine 10 years ago
Toshio Kuratomi 0c6364c771 debug line needs var not msg 10 years ago
James Cammarata bcd66059ae Use --source instead of -e for awk in integration Makefile 10 years ago
Toshio Kuratomi 72e6dbcd12 Fix get_url tests in light of distros backporting SNI support 10 years ago
Brian Coca 5e9d182229 changed test to use filter for accurate reporting 10 years ago
James Cammarata 407d76b8d5 Fixing template integration test for python 2.6 versions
No longer immediately fallback to to_json if simplejson is not installed
10 years ago
Jonathan Mainguy 9f69b6b585 Add shared connection code for mysql modules 10 years ago
Toshio Kuratomi 8fd438000a Update url to site that has an invalid certificate 10 years ago
James Cammarata 54ce8327cb Disabling docker test for stable-2.0 due to versioning issues 10 years ago
Toshio Kuratomi 66be9d06c4 Minor: Correct type pyhton => python 10 years ago
Jonathan Mainguy 887319f95c add tests for encrypted hash mysql_user 10 years ago
James Cammarata 75e6fb30d5 Fixing up docker integration tests a bit 10 years ago
Toshio Kuratomi 65f4cbf487 Fix template test results on python2.6 10 years ago
Brian Coca d9218ce33f reformated test, changed big assert to with_items
much easier to see the individual condition that causes the failure
when using with_items and evaluating each part of the assert individually
10 years ago
Chris Church 126249d69a Add assertions for ansible_date_time in setup result. 10 years ago
Guido Günther 1ab60564ae Add integration tests for zypper
Modeled after the yum tests but also tests local package installations
as fixed with PR#1256.

This depends on PRs #1256, #1261 and #1262 in ansible-modules-extra.
10 years ago
Brano Zarnovican af2e94e3c7 test_hg fix: remove reference to "head"
ERROR! error while evaluating conditional: head.stat.isreg

This is remnant from earlier change 50e5d81777
which removed stat on head file..
10 years ago
Brano Zarnovican 5378a6003a test_svn fix: remove hardcoded "~/ansible_testing/svn" path 10 years ago
Chris Church 9a8e95bff3 Modify task executor to reuse connection inside a loop. Fix WinRM connection to set _connected properly and display when remote shell is opened/closed. Add integration test using raw + with_items. 10 years ago
Brian Coca e61882ca19 Merge pull request #13170 from robinro/integration_test_git_ansible-modules-core_pull_721
add test for changing git remote url
10 years ago
nitzmahone 349e072a74 fix for dynamic (add_host) hosts not available in hostvars
Looks like there are two pattern caches that need to be cleared for this to work- added the second one.
Added integration tests for add_host to prevent future regressions.
10 years ago
Will Thames 4f3430ebeb Handle unexpected database presence
Check for database presence in a nice way, rather than
dropping the database.

Thankfully there was a syntax error in the previous
version, so no database would have been dropped.
There was no check for whether it succeeded or not.
10 years ago
Robin Roth 6cefdfe148 add test for changing git remote url
integration test for https://github.com/ansible/ansible-modules-core/pull/721
clone a repo from one url
clone an updated version of that repo from a new url
make sure the remote url and the working copy are updated
10 years ago
Brian Coca 5d645f3a8b Merge pull request #13127 from willthames/test_become
Elevate privileges when checking for file existence
10 years ago
Brian Coca 206cc50bd9 breaks testing in non virtual envs, since env var can be used in those
cases removing it from here
10 years ago