Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28648

Unittests should work if 'localhost' canonicalizes to other hostname

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.12
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • Platforms 2017-08-21

      sasl_authentication_session_gssapi_test requires that the /etc/hosts entry for 127.0.0.1 begin with 'localhost'. If it does not, it will reverse lookup the wrong hostname to acquire a keytab entry for. If we made the hostname the test originally looked up invalid, then it will be unable to reverse lookup. Then, we won't rely on entries in /etc/hosts.

      Note, we'd need a new keytab entry with the new invalid hostname.

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: