This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
mitogen
mirror of
https://github.com/mitogen-hq/mitogen.git
Watch
1
Star
1
Fork
You've already forked mitogen
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
73a87d425d
mitogen
/
tests
/
ansible
/
integration
/
glibc_caches
/
all.yml
3 lines
28 B
YAML
Raw
Normal View
History
Unescape
Escape
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 10:46:24 +00:00
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.
2019-01-23 12:44:08 +00:00
-
include
:
resolv_conf.yml