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

Ldap tests should wait for connection reaper to be terminated

    • Fully Compatible
    • ALL
    • v5.2, v4.4
    • Sharding 2021-11-29, Sharding 2021-12-13
    • 69

      Need to find the way to guarantee that the thread pool where Ldap connection reaper is running is terminated before the test end.

      LDAPManagerImpl owns LDAPRunnerImpl, which owns LDAPConnectionFactory, which owns LDAPConnectionReaper. However the connection implementations (e.g. OpenLDAPConnection) also own a shared pointer to the LDAPConnectionReaper, which means deleting the LDAPConnectionFactory doesn't force the reaper to terminate.

            Assignee:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: