Klaus Zerwes
b8dd348b1e
Revert "Revert "fixed tests for ansible 2.12""
...
This reverts commit f82bd3d714
.
3 years ago
Klaus Zerwes
f82bd3d714
Revert "fixed tests for ansible 2.12"
...
include is deprecated and will be removed in 2.16, so there is some time to fix this left
This reverts commit 7bc2102d2b
.
3 years ago
Klaus Zerwes
7bc2102d2b
fixed tests for ansible 2.12
3 years ago
Alex Willmer
e194a6367f
ci: Fix version comparisons involving double digits
...
See https://gist.github.com/moreati/e7507c5b606b12ec0ddafcb7c8debbf1
3 years ago
Alex Willmer
3c58215a91
tests: Tag Ansible tests
...
This makes it easier to run subsets using ANSIBLE_RUN_TAGS=...
3 years ago
Alex Willmer
cfa5888547
tests: Print variables on failure of assert tasks
...
Fixes #852
3 years ago
Alex Willmer
1a0951c664
Merge branch 'master' into tests-resource_intensive-tag
4 years ago
Alex Willmer
bb271d8d00
tests: Tag resource intensive tasks, to skip when strategy=linear
...
The ansible_mitogen test suite takes over an hour when Ansible is not
accelerated by Mitogen. This change aims to reduce that by skipping
tests with a large number of iterations when the linear strategy is
chosen.
The tagged tests are intended to uncover Mitogen resource leaks. Since
Mitogen is not invoked when strategy=linear, the slight reduction in
test coverage is an acceptable trade off.
4 years ago
Alex Willmer
a64e966ab9
tests: Add unofficial Tox environments for Ansible tests
...
These are not part of the official testing regime (tests run for pull
requests). I find them convenient for local development.
Limitations
- Python 2.7+ only. No Python 2.4, 2.5, or 2.6.
- Requires Pythons pre-installed (e.g. DeadSnakes, pyenv)
- No coverage of alternate controller OS (e.g. MacOS)
The environments tested by default are
py27-mode_ansible-ansible2.10
py36-mode_ansible-ansible2.10
py39-mode_ansible-ansible2.10
py27-mode_mitogen
py36-mode_mitogen
py39-mode_mitogen
py27-mode_mitogen-distro_centos7
py36-mode_mitogen-distro_centos7
py39-mode_mitogen-distro_centos7
4 years ago
Steven Robertson
1091cd7ca1
try and suppress mode warning clogging up logs
4 years ago
Steven Robertson
acde13f9d6
handles a 'wait_for_connection' call right after a task caused a shutdown
5 years ago
Steven Robertson
bb048cc03d
accidentally deleted quotes
5 years ago
Steven Robertson
faf7798c16
revert python3 setup + add TODO; python3 tests aren't working now but python2 is EOL so they should work soon
5 years ago
Steven Robertson
1157ff6f43
try fixing mac python symlink weirdness
5 years ago
Steven Robertson
0a34d378c9
change virtualenv creation when running with python 3
5 years ago
Steven Robertson
d813092d69
revert hack done to virtualenv test
5 years ago
Steven Robertson
90d51fcbbd
'fix' test for virtualenv on mac
5 years ago
Steven Robertson
488ab3553e
upgrade ansible back to 2.9.4, and fix issue with virtualenv on Mac
5 years ago
Steven Robertson
868de4e5ba
added ability to repro current virtualenv bug behind a proxy, and adding verbosity to see why azure is unhappy
5 years ago
David Wilson
d6329f3446
Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415
5 years ago
David Wilson
0e489625ed
issue #615 : regression test
5 years ago
David Wilson
206a8d4aeb
issue #558 : disable test on OSX to cope with boundless mediocrity
5 years ago
David Wilson
8dfb3966df
issue #558 , #582 : preserve remote tmpdir if caller did not supply one
...
The undocumented 'tmp' parameter controls whether _execute_module()
would delete anything on 2.3, so mimic that. This means
_execute_remove_stat() calls will not blow away the temp directory,
which broke the unarchive plugin.
5 years ago
David Wilson
e90c05dc9d
issue #591 : fix test for Ansible 2.3.
6 years ago
David Wilson
0b7fd3f290
issue #591 : ansible: restore CWD prior to AnsibleModule initialization.
6 years ago
David Wilson
fe7c3610ff
issue #590 : disable distro test on vanilla
6 years ago
David Wilson
e94200aeb9
issue #590 : actually run Ansible test.
6 years ago
David Wilson
7a5c436a39
issue #590 : Ansible test for module_utils.distro use.
6 years ago
David Wilson
8a18d1862e
issue #587 : "state: absent" was removed in 2.8.0
...
ansible/cc9c72d6f845710b24e952670b534a57f6948513
6 years ago
David Wilson
9aff8edf50
issue #477 : one more conditional test.
6 years ago
David Wilson
c443244986
issue #477 : Ansible 2.3 compatible regression/all.yml.
6 years ago
David Wilson
fccf424140
tests: Pythonize print_env.sh.
6 years ago
David Wilson
0a2ae4d597
tests: tidy up issue_140.yml
6 years ago
David Wilson
da391f0542
tests: fix host limit.
6 years ago
David Wilson
b521f215fd
ansible: handle >2.6 magic exceptions + sys.excepthook damage
...
Closes #332 .
6 years ago
David Wilson
4f57c59b7e
issue #275 : Don't run virtualnv test on 2.6.
7 years ago
David Wilson
baa4e75526
tests: tidy up thread_pileup for use as a toy benchmark.
7 years ago
David Wilson
962ba862e9
tests: use test-targets group, not all group
7 years ago
David Wilson
b91785c9a1
tests: workaround for issue_109
7 years ago
David Wilson
d827bdb848
tests: fixes to get regression/ running under vanilla Ansible
7 years ago
David Wilson
b882b78d35
tests: clean up remaining reg tests
...
Delete some that are impossible to detect, fix up the remainder to
detect the condition they describe.
7 years ago
David Wilson
aeeba54d96
tests: better regression test for issue #109
7 years ago
David Wilson
b247c320d2
issue #164 : rename tests for clarity
7 years ago
David Wilson
ae75a0ca8c
issue #164 : rearrange playbooks a little more
7 years ago
David Wilson
49aa8834b0
issue #164 : split "examples" out into regression/integration tests.
7 years ago