Details
-
Improvement
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
Description
The localhost exception test requires a non-localhost IP address. It was implemented in jstests/libs/host_ipaddr.js using ipconfig & ifconfig (with grep).
A more reliable mechanism would use a system call like getifaddrs, which returns a linked list of all the network interfaces with details.
Attachments
Issue Links
- is related to
-
SERVER-14652 Update tests for localhost exception
-
- Closed
-