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

Ldap tests should wait for connection reaper to be terminated

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.3.0, 4.4.12
    • None
    • Fully Compatible
    • ALL
    • v5.2, v4.4
    • Sharding 2021-11-29, Sharding 2021-12-13
    • 69

    Description

      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.

      Attachments

        Activity

          People

            andrew.shuvalov@mongodb.com Andrew Shuvalov
            andrew.shuvalov@mongodb.com Andrew Shuvalov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: