Disable spring-security-rsa tests on Windows

Issue gh-14202
This commit is contained in:
Marcus Hert Da Coregio 2024-01-30 09:07:54 -03:00
parent 5b281eee77
commit 93c2d1cc3c
2 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,8 @@
package org.springframework.security.crypto.encrypt;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.springframework.core.io.ClassPathResource;
@ -26,6 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* @author Dave Syer
*
*/
@DisabledOnOs(OS.WINDOWS)
public class KeyStoreKeyFactoryTests {
@Test

View File

@ -20,12 +20,15 @@ import java.nio.charset.StandardCharsets;
import java.security.KeyPair;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.springframework.core.io.ClassPathResource;
import org.springframework.util.StreamUtils;
import static org.assertj.core.api.Assertions.assertThat;
@DisabledOnOs(OS.WINDOWS)
public class RsaKeyHelperTests {
@Test