Skip to content

Commit e33fd73

Browse files
committed
Unmute Kerberos integ tests (elastic#80538)
We used to default enctypes to des3-cbc-sha1-kd but with JDK17, weak encryption types are disabled by default. This caused our Kerberos integration tests to fail with an `sun.security.krb5.KrbException: no supported default etypes for default_tkt_enctypes` exception. We have since changed our default encryption type to aes256-cts-hmac-sha1-96 in elastic#78703 and we can unmute these tests now. # Conflicts: # x-pack/qa/kerberos-tests/src/test/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosAuthenticationIT.java
1 parent b5edb93 commit e33fd73

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

x-pack/qa/kerberos-tests/src/test/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosAuthenticationIT.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,6 @@ public void testSuppressedOnJDK8u262() {
104104
}
105105

106106
public void testLoginByKeytab() throws IOException, PrivilegedActionException {
107-
assumeFalse(
108-
"This test fails often on Java 17 early access. See: https://github.com/elastic/elasticsearch/issues/72120",
109-
"17".equals(System.getProperty("java.version"))
110-
);
111-
testSuppressedOnJDK8u262();
112107
final String userPrincipalName = System.getProperty(TEST_USER_WITH_KEYTAB_KEY);
113108
final String keytabPath = System.getProperty(TEST_USER_WITH_KEYTAB_PATH_KEY);
114109
final boolean enabledDebugLogs = Boolean.parseBoolean(System.getProperty(ENABLE_KERBEROS_DEBUG_LOGS_KEY));
@@ -121,11 +116,6 @@ public void testLoginByKeytab() throws IOException, PrivilegedActionException {
121116
}
122117

123118
public void testLoginByUsernamePassword() throws IOException, PrivilegedActionException {
124-
assumeFalse(
125-
"This test fails often on Java 17 early access. See: https://github.com/elastic/elasticsearch/issues/72120",
126-
"17".equals(System.getProperty("java.version"))
127-
);
128-
testSuppressedOnJDK8u262();
129119
final String userPrincipalName = System.getProperty(TEST_USER_WITH_PWD_KEY);
130120
final String password = System.getProperty(TEST_USER_WITH_PWD_PASSWD_KEY);
131121
final boolean enabledDebugLogs = Boolean.parseBoolean(System.getProperty(ENABLE_KERBEROS_DEBUG_LOGS_KEY));
@@ -138,11 +128,6 @@ public void testLoginByUsernamePassword() throws IOException, PrivilegedActionEx
138128
}
139129

140130
public void testGetOauth2TokenInExchangeForKerberosTickets() throws PrivilegedActionException, GSSException, IOException {
141-
assumeFalse(
142-
"This test fails often on Java 17 early access. See: https://github.com/elastic/elasticsearch/issues/72120",
143-
"17".equals(System.getProperty("java.version"))
144-
);
145-
testSuppressedOnJDK8u262();
146131
final String userPrincipalName = System.getProperty(TEST_USER_WITH_PWD_KEY);
147132
final String password = System.getProperty(TEST_USER_WITH_PWD_PASSWD_KEY);
148133
final boolean enabledDebugLogs = Boolean.parseBoolean(System.getProperty(ENABLE_KERBEROS_DEBUG_LOGS_KEY));

0 commit comments

Comments
 (0)