Use a more reliable mechanism for getIpAddress

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              DO NOT USE - Backlog - Test Infrastructure Group (TIG)
              Reporter:
              Jonathan Abrahams (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: