Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TEST] Wait for async LDAP search to finish (#81197)
LDAP SDK has a race condition where closing a connection while an async search is still executing could lead to a Timer thread being orphaned. See: pingidentity/ldapsdk#120 This commit changes SearchGroupsResolverInMemoryTests so that it waits for the pending async search to complete (or timeout) before returning. This ensures that when the close the connection the Timer thread is cancelled (and stays cancelled). Resolves: #80305
- Loading branch information