-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
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.