Steven Robertson
5b40b8d155
fix runner_one_job ansible version comparison
4 years ago
David Wilson
4b9b1ca24d
tests: work around AnsibleModule.run_command() race.
...
See https://github.com/ansible/ansible/issues/51393
5 years ago
David Wilson
08e7fe4f80
tests: add 2.8 format async error timeout message
6 years ago
David Wilson
54b5fdf761
issue #587 : fix syntax error due to presence of comment
6 years ago
David Wilson
b8e1b4df51
issue #587 : 2.8 whitespace handling was improved.
...
b72e989e18
6 years ago
David Wilson
1c955a9876
ansible: capture stderr stream of async tasks. Closes #540 .
6 years ago
David Wilson
a40946297f
issue #497 : do our best to cope with crap upstream code
6 years ago
David Wilson
e133b8dbb1
issue #477 : some more conditional tests.
6 years ago
David Wilson
599da0689a
issue #477 / ansible: avoid a race in async job startup.
...
Ansible 2.3/Python 2.4 work revealed there is no guarantee a slow target
will have written the initial job status file out before a fast
controller makes an initial check for it. Therefore, provide AsyncRunner
with a sender it should send a message to when the initial job file has
been written.
As a bonus, also catch and report exceptions happening early in
AsyncRunner, rather than leaving them to end up in -vvv output.
6 years ago
David Wilson
c1a4597e32
issue #477 : tests: use Ansible 2.3-compatible include rather than import
...
This will break with Ansible 2.8. Probably going to end up with a regex
hack for CI.
6 years ago
David Wilson
9d9add3339
issue #414 : reenable test.
6 years ago
David Wilson
9ad022107e
issue #414 : disable test until rest of CI is healthy
6 years ago
David Wilson
574fc27a9c
issue #414 : import test / reproduction.
6 years ago
David Wilson
5eff8ea4fb
tests: make result_shell_echo_hi compare less of the timedelta; closes #361
...
Assuming less than one second is too much to ask from Travis.
6 years ago
David Wilson
2eb3ea78d6
tests: remove a bunch of stray debug
6 years ago
David Wilson
21a7aac220
tests: import custom binaries for tests
...
Same for async tests.
6 years ago
David Wilson
ffc7306cf8
tests: better runner_two_simultaneous_jobs.yml.
7 years ago
David Wilson
3994f1b30a
ansible: implment async job time limit.
7 years ago
David Wilson
df8fe59eda
tests: replace hard-coded sleep with a polling loop
7 years ago
David Wilson
64b60be50c
tests: split runner_new_process out of runner_one_job
7 years ago
David Wilson
962ba862e9
tests: use test-targets group, not all group
7 years ago
David Wilson
85e1f5f515
ansible: remove JobResultService, more compatible async jobs; closes #191 .
...
And by "compatible" I mean "terrible". This does not implement async job
timeouts, but I'm not going to bother, upstream async implementation is
so buggy and inconsistent it resists even having its behaviour captured
in tests.
7 years ago
David Wilson
6ad18b6719
issue #191 : move async tests to their own category
7 years ago