You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2020/10/21 01:56:52 UTC

[karaf] branch master updated: [KARAF-6823] Ignore GSSAPILdapLoginModuleTest tests for now as they don't work with JDK >= 11.0.8

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/master by this push:
     new 7144f71  [KARAF-6823] Ignore GSSAPILdapLoginModuleTest tests for now as they don't work with JDK >= 11.0.8
7144f71 is described below

commit 7144f711b41f5f671cb10f5b270b7f539e0c4db4
Author: jbonofre <jb...@apache.org>
AuthorDate: Wed Oct 21 03:55:59 2020 +0200

    [KARAF-6823] Ignore GSSAPILdapLoginModuleTest tests for now as they don't work with JDK >= 11.0.8
---
 .../apache/karaf/jaas/modules/ldap/GSSAPILdapLoginModuleTest.java   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/jaas/modules/src/test/java/org/apache/karaf/jaas/modules/ldap/GSSAPILdapLoginModuleTest.java b/jaas/modules/src/test/java/org/apache/karaf/jaas/modules/ldap/GSSAPILdapLoginModuleTest.java
index 9d049d8..6c1aa7a 100644
--- a/jaas/modules/src/test/java/org/apache/karaf/jaas/modules/ldap/GSSAPILdapLoginModuleTest.java
+++ b/jaas/modules/src/test/java/org/apache/karaf/jaas/modules/ldap/GSSAPILdapLoginModuleTest.java
@@ -61,6 +61,7 @@ import org.apache.karaf.jaas.modules.NamePasswordCallbackHandler;
 import org.apache.karaf.jaas.modules.krb5.KarafKerberosITest;
 import org.junit.After;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
@@ -165,6 +166,7 @@ public class GSSAPILdapLoginModuleTest extends KarafKerberosITest {
     }
 
     @Test
+    @Ignore("KARAF-6823: doesn't work with JDK >= 11.0.8")
     public void testSuccess() throws Exception {
 
         Properties options = ldapLoginModuleOptions();
@@ -215,6 +217,7 @@ public class GSSAPILdapLoginModuleTest extends KarafKerberosITest {
     }
 
     @Test(expected = LoginException.class)
+    @Ignore("KARAF-6823: doesn't work with JDK >= 11.0.8")
     public void testUsernameFailure() throws Exception {
 
         Properties options = ldapLoginModuleOptions();
@@ -228,6 +231,7 @@ public class GSSAPILdapLoginModuleTest extends KarafKerberosITest {
     }
 
     @Test(expected = LoginException.class)
+    @Ignore("KARAF-6823: doesn't work with JDK >= 11.0.8")
     public void testPasswordFailure() throws Exception {
 
         Properties options = ldapLoginModuleOptions();
@@ -241,6 +245,7 @@ public class GSSAPILdapLoginModuleTest extends KarafKerberosITest {
     }
 
     @Test(expected = LoginException.class)
+    @Ignore("KARAF-6823: doesn't work with JDK >= 11.0.8")
     public void testUserNotFound() throws Exception {
 
         Properties options = ldapLoginModuleOptions();
@@ -254,6 +259,7 @@ public class GSSAPILdapLoginModuleTest extends KarafKerberosITest {
     }
 
     @Test(expected = LoginException.class)
+    @Ignore("KARAF-6823: doesn't work with JDK >= 11.0.8")
     public void testNoRealm() throws Exception {
 
         Properties options = ldapLoginModuleOptions();