Skip to content

Commit c1d57cc

Browse files
Mute flaky kerberos tests on JDK 17 (elastic#76227) (elastic#76229)
Relates elastic#72120
1 parent 1d226e7 commit c1d57cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void testSuppressedOnJDK8u262() {
9999

100100
public void testLoginByKeytab() throws IOException, PrivilegedActionException {
101101
assumeFalse("This test fails often on Java 17 early access. See: https://github.com/elastic/elasticsearch/issues/72120",
102-
"17-ea".equals(System.getProperty("java.version")));
102+
"17".equals(System.getProperty("java.version")));
103103
testSuppressedOnJDK8u262();
104104
final String userPrincipalName = System.getProperty(TEST_USER_WITH_KEYTAB_KEY);
105105
final String keytabPath = System.getProperty(TEST_USER_WITH_KEYTAB_PATH_KEY);
@@ -111,7 +111,7 @@ public void testLoginByKeytab() throws IOException, PrivilegedActionException {
111111

112112
public void testLoginByUsernamePassword() throws IOException, PrivilegedActionException {
113113
assumeFalse("This test fails often on Java 17 early access. See: https://github.com/elastic/elasticsearch/issues/72120",
114-
"17-ea".equals(System.getProperty("java.version")));
114+
"17".equals(System.getProperty("java.version")));
115115
testSuppressedOnJDK8u262();
116116
final String userPrincipalName = System.getProperty(TEST_USER_WITH_PWD_KEY);
117117
final String password = System.getProperty(TEST_USER_WITH_PWD_PASSWD_KEY);
@@ -123,7 +123,7 @@ public void testLoginByUsernamePassword() throws IOException, PrivilegedActionEx
123123

124124
public void testGetOauth2TokenInExchangeForKerberosTickets() throws PrivilegedActionException, GSSException, IOException {
125125
assumeFalse("This test fails often on Java 17 early access. See: https://github.com/elastic/elasticsearch/issues/72120",
126-
"17-ea".equals(System.getProperty("java.version")));
126+
"17".equals(System.getProperty("java.version")));
127127
testSuppressedOnJDK8u262();
128128
final String userPrincipalName = System.getProperty(TEST_USER_WITH_PWD_KEY);
129129
final String password = System.getProperty(TEST_USER_WITH_PWD_PASSWD_KEY);

0 commit comments

Comments
 (0)