Commit 8a83895
committed
test: fix failed name resolution test for some envs
Under certain network conditions it is possible that getaddrinfo() will
return EAI_AGAIN rather than EAI_NONAME for an unknown host.
It can be easily reproduced when a network interface is down, however it
is not the only case when EAI_AGAIN appears. It seems some DNS servers
may report a temporary failure in case of an unknown hostname (at least
it looks so, I am unable re-check now).1 parent 9429f9c commit 8a83895
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments