-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
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.
- is related to
-
SERVER-14652 Update tests for localhost exception
- Closed