commit | 5764bf8624175ff2f81ba7c5efda1c0054e08ae0 | [log] [tgz] |
---|---|---|
author | Marcel Reutegger <mreutegg@apache.org> | Thu Jan 21 17:13:39 2021 +0000 |
committer | Marcel Reutegger <mreutegg@apache.org> | Thu Jan 21 17:13:39 2021 +0000 |
tree | e1a807bd0b60129ec0e1a4ccd9d8527fded2d563 | |
parent | 4b3720abdcccc6cfde2e3f85d9117832600a70a9 [diff] |
OAK-9324: oak-auth-ldap (UseUidForExtIdTest) tests fail (likely specific to Windows) Tear down server after tests git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1885765 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/impl/PoolableUnboundConnectionFactoryTest.java b/oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/impl/PoolableUnboundConnectionFactoryTest.java index 0d461d4..b9b9c9a 100644 --- a/oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/impl/PoolableUnboundConnectionFactoryTest.java +++ b/oak-auth-ldap/src/test/java/org/apache/jackrabbit/oak/security/authentication/ldap/impl/PoolableUnboundConnectionFactoryTest.java
@@ -24,6 +24,7 @@ import org.apache.directory.ldap.client.api.LookupLdapConnectionValidator; import org.apache.jackrabbit.oak.security.authentication.ldap.LdapServerClassLoader; import org.jetbrains.annotations.NotNull; +import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; @@ -50,6 +51,11 @@ PROXY = serverClassLoader.createAndSetupServer(); } + @AfterClass + public static void afterClass() throws Exception { + PROXY.tearDown(); + } + @Test public void testGetValidator() { LdapConnectionValidator validator = factory.getValidator();