oak-auth-ldap (UseUidForExtIdTest) tests fail (likely specific to Windows)
Tear down server after tests
@@ -24,6 +24,7 @@ import org.apache.directory.ldap.client.api.LdapNetworkConnection;
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 @@ public class PoolableUnboundConnectionFactoryTest {
PROXY = serverClassLoader.createAndSetupServer();
}
+ @AfterClass
+ public static void afterClass() throws Exception {
+ PROXY.tearDown();
+ }
+
@Test
public void testGetValidator() {
LdapConnectionValidator validator = factory.getValidator();
