Commit Graph

16 Commits

Author SHA1 Message Date
David Wilson 916e46621b issue #340: add connection delegation tests. 2018-08-18 16:43:59 +01:00
David Wilson 3e0de9790c issue #324: fix Python 3 fallout for custom module_utils.
Also enable at last one of its tests.
2018-07-28 16:21:09 -07:00
David Wilson 012745efea issue #297: local actions must execute with fixed directory.
Local actions must execute in the the parent directory of the playbook
that defines the action.
2018-07-10 17:56:05 +01:00
David Wilson 5b03e06457 issue #294: ansible: fix mixed vanilla/Mitogen runs.
Don't bother trying to understand what damage PluginLoader has done to
ansible.plugins.* namespace, just ask it for the base class instead.
2018-07-09 15:48:17 +01:00
David Wilson 2ad0d0521d ansible: reload /etc/resolv.conf for each task.
The OpenShift installer modifies /etc/resolv.conf then tests the new
resolver configuration, however, there was no mechanism to reload
resolv.conf in our reuseable interpreter.

https://github.com/openshift/openshift-ansible/blob/release-3.9/roles/openshift_web_console/tasks/install.yml#L137

This inserts an explicit call to res_init() for every new style
invocation, with an approximate cost of ~1usec on Linux since glibc
verifies resolv.conf has changed before reloading it.

There is little to be done for users of the thread-safe resolver APIs,
their state is hidden from us. If bugs like that manifest, whack-a-mole
style 'del sys.modules[thatmod]' patches may suffice.
2018-05-07 23:14:27 +01:00
David Wilson 267f787d20 issue #217: tests: import (unused) module_utils tests. 2018-05-05 04:00:21 +01:00
David Wilson ee741da2b3 tests: reenable remaining Ansible tests. 2018-05-04 23:51:01 +01:00
David Wilson be5c03c152 tests: many test fixes. Travis broken for >1 week. 2018-05-04 20:28:05 +01:00
David Wilson 6109de51a0 tests: Ansible SSH timeout test
Also change Docker image to new 'mitogen' organization.
2018-05-03 18:19:40 +01:00
David Wilson 3203846708 issue #239: ansible: ignore remote_tmp in new style runner. 2018-05-01 14:06:09 +01:00
David Wilson 6ad18b6719 issue #191: move async tests to their own category 2018-04-19 22:12:18 +01:00
David Wilson 6394226722 issue #159: verify no more than 20 tasks exist on the remote 2018-04-12 12:37:31 +01:00
David Wilson 98ee3e177a ansible: tests for sudo behaviour; closes #143. 2018-04-09 15:04:40 +01:00
David Wilson d068a36c1e issue #164: more dir layout contortions.
all.yml slurps in tests from each file/subdir in the CWD.
2018-04-05 17:32:56 +01:00
David Wilson 680dc1bf68 issue #164: basic connection loader tests. 2018-04-05 17:27:42 +01:00
David Wilson ae75a0ca8c issue #164: rearrange playbooks a little more 2018-04-04 16:11:19 +01:00