f508a7e330
When calling getaddrinfo with an unspecified address family, we: * try to get an IPv6 address for the host, first trying /etc/hosts and failing that, using any external nameserver, then * try to get an IPv4 address for it, with the same /etc/hosts -> external nameserver priority. Note that if the host can be resolved using /etc/hosts but only to one of the two address families, we still attempt to contact the external nameserver to resolve it in the other family. Previously, if this timed out or raised a DNSException other than NXDOMAIN, EAI_EAGAIN_ERROR or EAI_NODATA_ERROR would be raised even though we could resolve the host. Now, those errors will only be raised if neither attempt at resolution succeeded. https://github.com/eventlet/eventlet/pull/354 |
||
---|---|---|
.. | ||
isolated | ||
manual | ||
stdlib | ||
README | ||
__init__.py | ||
api_test.py | ||
backdoor_test.py | ||
convenience_test.py | ||
dagpool_test.py | ||
db_pool_test.py | ||
debug_test.py | ||
env_test.py | ||
event_test.py | ||
fork_test.py | ||
green_http_test.py | ||
greendns_test.py | ||
greenio_test.py | ||
greenpool_test.py | ||
greenthread_test.py | ||
hub_test.py | ||
hub_test_fork.py | ||
mock.py | ||
mysqldb_test.py | ||
nosewrapper.py | ||
openssl_test.py | ||
parse_results.py | ||
patcher_psycopg_test.py | ||
patcher_test.py | ||
pools_test.py | ||
queue_test.py | ||
semaphore_test.py | ||
socket_test.py | ||
ssl_test.py | ||
subprocess_test.py | ||
test__event.py | ||
test__greenness.py | ||
test__refcount.py | ||
test__socket_errors.py | ||
test_server.crt | ||
test_server.key | ||
thread_test.py | ||
timeout_test.py | ||
timeout_test_with_statement.py | ||
timer_test.py | ||
tpool_test.py | ||
websocket_new_test.py | ||
websocket_test.py | ||
wsgi_test.py | ||
zmq_test.py |
README
The tests are intended to be run using Nose. http://somethingaboutorange.com/mrl/projects/nose/ To run tests, simply install nose, and then, in the eventlet tree, do: $ nosetests That's it! Its output is the same as unittest's output. It tends to emit a lot of tracebacks from various poorly-behaving tests, but they still (generally) pass.