Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZOOKEEPER-3715: fix Kerberos test failures for new JDK versions
Using OpenJDK 8u.242 or OpenJDK 11.0.6, we have some kerberos exceptions when running the following, Kerberos Authentication related tests: - QuorumKerberosAuthTest - QuorumKerberosHostBasedAuthTest - SaslKerberosAuthOverSSLTest After trying this with different JDK versions, we see that the problem seems to appear: - between OpenJDK 8u.232 and 8u.242 for java 8 - and between 11.0.3 and 11.0.6 for java 11 There are a lot of kerberos related changes after 8u.232: see https://hg.openjdk.java.net/jdk8u/jdk8u/jdk I didn't really found the root cause of the issue, but the problem disappeared after upgrading the Apache Kerby. Kerby is used only by the tests to start a local embedded KDC server. I also checked the dependencies of the new Kerby version and there is nothing to exclude there as far as I saw. I also improved the logging of errors during Kerberos authentication problems by printing out some more exceptions. Author: Mate Szalay-Beko <[email protected]> Reviewers: Enrico Olivelli <[email protected]>, Norbert Kalmar <[email protected]> Closes #1244 from symat/ZOOKEEPER-3715
- Loading branch information