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

Windows LDAP timeout affects expected behavior in pooled timeout test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Windows
    • Security 2021-11-01
    • 136

      BF-22963 appears to be caused by winldap occasionally enforcing the timeout rather than the connection pool. This results in situations where more auth attempts fail than expected by the test, since the ldap_timeout_pooled.js test assumes that the native LDAP libraries are essentially not working and purely tries to test that MongoDB's connection pool is enforcing the timeouts as intended.

      In order to ensure that the test is only validating the LDAP connection pool's ability to enforce timeouts, an additional failpoint should be created and set by the test which effectively disables or resets the native LDAP library's timeout to some arbitrarily high value. This should result in a consistent number of expected successes and failures that aligns with what the test currently expects. 

            Assignee:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: