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

Add greater error margins in ldap_failover_degraded_performance.js on Windows

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Security 2024-04-29, Security 2024-05-13, Security 2024-05-27, Security 2024-06-10, Security 2024-06-24, Security 2024-07-08, Security 2024-07-22, Security 2024-08-05

      Our Windows machines have historically been slower when running LDAP tests. Some of our LDAP tests rely on injecting timeouts and network faults to test the server's resilience in these situations. Since Windows is slower, timeouts tend to occur more frequently.

      ldap_failover_degraded_performance.js moves a fleet of LDAP servers into various states - slow, timeout, or normal - and asserts that LDAP authentication on MongoDB behaves as expected. It allows for a certain error margin of unexpected authentication results to account for the risk of clients connecting to a slow or downed LDAP server, which can skew the number of auth failures.

      Since Windows adds a certain level of intrinsic slowness to the LDAP servers, we should increase the error margin and also possibly reduce the overall number of FSM states that this test goes through on Windows to reduce flaky BFs.

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

              Created:
              Updated:
              Resolved: