Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test LdapSessionFactoryTests testSslTrustIsReloaded (#69001)
LdapSessionFactoryTests#testSslTrustIsReloaded relies on the resource watcher to detect the cert file overwriting. Resource watcher detects changes by only inspecting the file size on disk and the last access timestamp. For the last access timestamp, the resolution can be as low as one second depending on the JDK and the FS type. It is thus preferable to rely on file size differences in tests. Closes #68995
- Loading branch information