Skip to content

Commit

Permalink
Mute kerberos mutual auth test on JDK 15
Browse files Browse the repository at this point in the history
This change mutes SimpleKdcLdapServerTests
testClientServiceMutualAuthentication when the runtime jdk is 15.

See elastic#57749
  • Loading branch information
jaymode committed Jun 5, 2020
1 parent b307eec commit f710b12
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.unboundid.ldap.sdk.SearchScope;

import org.elasticsearch.action.support.PlainActionFuture;
import org.elasticsearch.bootstrap.JavaVersion;
import org.elasticsearch.common.collect.Tuple;
import org.elasticsearch.common.settings.SecureString;
import org.elasticsearch.env.Environment;
Expand Down Expand Up @@ -50,6 +51,9 @@ public void testPrincipalCreationAndSearchOnLdap() throws Exception {
}

public void testClientServiceMutualAuthentication() throws PrivilegedActionException, GSSException, LoginException, ParseException {
assumeFalse("Java 15-ea causes issues with this test, see https://github.com/elastic/elasticsearch/issues/57749",
JavaVersion.current().compareTo(JavaVersion.parse("15")) >= 0);

final String serviceUserName = randomFrom(serviceUserNames);
// Client login and init token preparation
final String clientUserName = randomFrom(clientUserNames);
Expand Down

0 comments on commit f710b12

Please sign in to comment.