DSEGSSAPIAuthProvider hostname resolution different depending on event loop

Description

https://github.com/datastax/python-driver/blob/master/cassandra/auth.py#L248

The getnameinfo call will resolve to different names depending on the event loop. If I run it locally, it will say "localhost" if running under libev, and under eventlet I get the last entry in my /etc/hosts for 127.0.0.1.

tests/unit/advanced/test_auth.py:TestGSSAPI.test_host_resolution will surface the bug if you set the event loop to eventlet.

Environment

None

Pull Requests

None

Assignee

Unassigned

Reporter

James Falcon

Fix versions

None

Labels

None

Reproduced in

None

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Priority

Major
Configure