Skip to content

Commit 02e9388

Browse files
Mute KerberosAuthenticationIT
Relates #32498
1 parent e3b2556 commit 02e9388

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

+6
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public void setupRoleMapping() throws IOException {
8282
assertOK(response);
8383
}
8484

85+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/32498")
8586
public void testLoginByKeytab() throws IOException, PrivilegedActionException {
8687
final String userPrincipalName = System.getProperty(TEST_USER_WITH_KEYTAB_KEY);
8788
final String keytabPath = System.getProperty(TEST_USER_WITH_KEYTAB_PATH_KEY);
@@ -91,6 +92,7 @@ public void testLoginByKeytab() throws IOException, PrivilegedActionException {
9192
executeRequestAndVerifyResponse(userPrincipalName, callbackHandler);
9293
}
9394

95+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/32498")
9496
public void testLoginByUsernamePassword() throws IOException, PrivilegedActionException {
9597
final String userPrincipalName = System.getProperty(TEST_USER_WITH_PWD_KEY);
9698
final String password = System.getProperty(TEST_USER_WITH_PWD_PASSWD_KEY);
@@ -100,6 +102,10 @@ public void testLoginByUsernamePassword() throws IOException, PrivilegedActionEx
100102
executeRequestAndVerifyResponse(userPrincipalName, callbackHandler);
101103
}
102104

105+
public void testSoDoesNotFailWithNoTests() {
106+
// intentionally empty - this is just needed to ensure the build does not fail because we mute its only test.
107+
}
108+
103109
private void executeRequestAndVerifyResponse(final String userPrincipalName,
104110
final SpnegoHttpClientConfigCallbackHandler callbackHandler) throws PrivilegedActionException, IOException {
105111
final Request request = new Request("GET", "/_xpack/security/_authenticate");

0 commit comments

Comments
 (0)