Commit Graph

626 Commits (cdca648f15789815a73661b059e5c213ed539235)

Author SHA1 Message Date
James Laska 07dd02c25a [test_ec2*] cloud integration test updates
To support parallel cloud test execution, create and provide a random string to
cloud integration tests.  The variable 'resource_prefix' can be used in cloud
roles and during resource cleanup to safely create/destroy cloud-based
resources.

Additional changes include:

 * The roles test_ec2_key and test_ec2_group were updated to use to
 {{resource_prefix}}.

 * Additionally, the Makefile was updated to set resource_prefix to a random
 string.  The Makefile will also use 'resource_prefix' during cloud_cleanup.

 * All test_ec2* roles were updated to add 'setup_ec2' as a role dependency.
11 years ago
James Laska 5c9dc33e41 Additional test_git scenarios
Includes coverage for accept_hostkey and additional scm URL formats.
11 years ago
Jakub Jirutka 2bfaacd170 Fix #5679 again after recent changes in core 11 years ago
Richard C Isaacson a483e42583 unarchive module: Add creates functionality.
Closes GH-5354.

Forklift copy logic into unarchive. Provides integration unit tests.
11 years ago
James Laska c7d1c1a306 [test_service] correct upstart service name and permissions
The 'service' utility was unable to find the 'ansible_test' service due to an
unexpected filename.  This patch corrects the filename and adjusts the
permissions to match other service scripts within /etc/init/.
11 years ago
James Laska 868746b095 Correct ansible_distribution typo
Redhat != RedHat
11 years ago
James Laska ba9950a73a Use correct value of ansible_distribution in integration tests
This fixes integration tests when run on a RHEL system.  Oddly, the
ansible_distribution='RedHat' when run on RHEL.
11 years ago
Michael DeHaan 46ec8759d5 Remove the legacy templating code, which was guarded by deprecation warnings in the previous two releases, and undocumented for a long time. use {{ foo }} to access variables instead of ${foo} or $foo. 11 years ago
Michael DeHaan 956eb91de0 Merge pull request #6198 from jlaska/integration_ec2
First pass at ec2 module tests
11 years ago
Chris Church adeea2c3f3 Added integration test for subversion parameters that need escaping. 11 years ago
James Laska b589bf1d2e First pass at ec2 module tests 11 years ago
Richard C Isaacson 2bce819519 Fix fails on ubuntu due to missing /etc/motd
Some systems that we are testing on may not have /etc/motd. So we need to create a file that we can control and use that for the further tests.
11 years ago
James Cammarata 7517cd9398 Moving the assemble test to the correct location 11 years ago
Michael DeHaan 0a83f743c1 Merge pull request #6146 from jlaska/test_synchronize
Correct assert and add with_items test
11 years ago
James Laska 40e0204051 Correct assert and add with_items test 11 years ago
Richard C Isaacson 087f7c230d Typo fixes. 11 years ago
Richard C Isaacson 0446a030d7 Typo fixes. 11 years ago
Richard C Isaacson dcbc69b69c Added script to the new integration tests. 11 years ago
Richard C Isaacson e2a47162d0 Added test for failed_when to non_destructive integration tests. 11 years ago
Richard C Isaacson 0c33e936d4 Adding tests for the command and shell modules. 11 years ago
Azul 89cee747d9 replace test 'wget' package with 'hello' package 11 years ago
James Tanner d29da4cba1 Add iterator tests 11 years ago
James Tanner 65e58c21dd Add test for basic lookups 11 years ago
James Tanner 799fe2c289 Add handlers test 11 years ago
James Tanner d07032fa5a Add async test role 11 years ago
Michael DeHaan 2177b773c8 Rename tests to test, use old directory name. 11 years ago