You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests/ansible/integration
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.
6 years ago
..
action tests: use test-targets group, not all group 6 years ago
async tests: use test-targets group, not all group 6 years ago
become tests: su integration test. 6 years ago
connection_loader tests: use test-targets group, not all group 6 years ago
context_service tests: use test-targets group, not all group 6 years ago
glibc_caches ansible: reload /etc/resolv.conf for each task. 6 years ago
module_utils issue #217: tests: import (unused) module_utils tests. 6 years ago
playbook_semantics tests: use test-targets group, not all group 6 years ago
remote_tmp tests: fix test for vanilla Ansible. 6 years ago
runner tests: many test fixes. Travis broken for >1 week. 6 years ago
ssh tests: many test fixes. Travis broken for >1 week. 6 years ago
all.yml ansible: reload /etc/resolv.conf for each task. 6 years ago