Commit df02be97 authored by Denis Bilenko's avatar Denis Bilenko

test__socket_dns.py: pre-allocate a thread

parent 511dd376
......@@ -69,6 +69,7 @@ if hasattr(resolver, 'ares'):
else:
accept_results = [("gaierror(-5, 'No address associated with hostname')",
"gaierror(-2, 'Name or service not known')")]
resolver.pool.size = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment