Browse Source

Disable ApacheDSContainerTests on Windows

Closes gh-10084
pull/10085/head
Rob Winch 4 years ago
parent
commit
c71498ae5f
  1. 4
      ldap/src/integration-test/java/org/springframework/security/ldap/server/ApacheDSContainerTests.java

4
ldap/src/integration-test/java/org/springframework/security/ldap/server/ApacheDSContainerTests.java

@ -25,6 +25,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.junit.jupiter.api.io.TempDir; import org.junit.jupiter.api.io.TempDir;
import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.ClassPathResource;
@ -117,6 +119,7 @@ public class ApacheDSContainerTests {
} }
@Test @Test
@DisabledOnOs(OS.WINDOWS)
public void startWithLdapOverSslWithWrongPassword() throws Exception { public void startWithLdapOverSslWithWrongPassword() throws Exception {
final ClassPathResource keyStoreResource = new ClassPathResource( final ClassPathResource keyStoreResource = new ClassPathResource(
"/org/springframework/security/ldap/server/spring.keystore"); "/org/springframework/security/ldap/server/spring.keystore");
@ -150,6 +153,7 @@ public class ApacheDSContainerTests {
* @throws Exception * @throws Exception
*/ */
@Test @Test
@DisabledOnOs(OS.WINDOWS)
public void startWithLdapOverSsl() throws Exception { public void startWithLdapOverSsl() throws Exception {
final ClassPathResource keyStoreResource = new ClassPathResource( final ClassPathResource keyStoreResource = new ClassPathResource(

Loading…
Cancel
Save