diff --git a/x-pack/qa/kerberos-tests/src/test/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosAuthenticationIT.java b/x-pack/qa/kerberos-tests/src/test/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosAuthenticationIT.java index 70076951f6126..4f058057a386b 100644 --- a/x-pack/qa/kerberos-tests/src/test/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosAuthenticationIT.java +++ b/x-pack/qa/kerberos-tests/src/test/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosAuthenticationIT.java @@ -99,7 +99,7 @@ public void testSuppressedOnJDK8u262() { public void testLoginByKeytab() throws IOException, PrivilegedActionException { assumeFalse("This test fails often on Java 17 early access. See: https://github.com/elastic/elasticsearch/issues/72120", - "17-ea".equals(System.getProperty("java.version"))); + "17".equals(System.getProperty("java.version"))); testSuppressedOnJDK8u262(); final String userPrincipalName = System.getProperty(TEST_USER_WITH_KEYTAB_KEY); final String keytabPath = System.getProperty(TEST_USER_WITH_KEYTAB_PATH_KEY); @@ -111,7 +111,7 @@ public void testLoginByKeytab() throws IOException, PrivilegedActionException { public void testLoginByUsernamePassword() throws IOException, PrivilegedActionException { assumeFalse("This test fails often on Java 17 early access. See: https://github.com/elastic/elasticsearch/issues/72120", - "17-ea".equals(System.getProperty("java.version"))); + "17".equals(System.getProperty("java.version"))); testSuppressedOnJDK8u262(); final String userPrincipalName = System.getProperty(TEST_USER_WITH_PWD_KEY); final String password = System.getProperty(TEST_USER_WITH_PWD_PASSWD_KEY); @@ -123,7 +123,7 @@ public void testLoginByUsernamePassword() throws IOException, PrivilegedActionEx public void testGetOauth2TokenInExchangeForKerberosTickets() throws PrivilegedActionException, GSSException, IOException { assumeFalse("This test fails often on Java 17 early access. See: https://github.com/elastic/elasticsearch/issues/72120", - "17-ea".equals(System.getProperty("java.version"))); + "17".equals(System.getProperty("java.version"))); testSuppressedOnJDK8u262(); final String userPrincipalName = System.getProperty(TEST_USER_WITH_PWD_KEY); final String password = System.getProperty(TEST_USER_WITH_PWD_PASSWD_KEY);