Skip to content

Commit 650236d

Browse files
committed
Remove breaking and unnecessary Undertow TLS with RSA test
The test starts breaking with JDK 17.0.18, because of this change: https://www.oracle.com/java/technologies/javase/17-0-18-relnotes.html#JDK-8245545 Closes gh-48937
1 parent 877d59b commit 650236d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/undertow/UndertowServletWebServerFactoryTests.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
import org.junit.jupiter.api.AfterEach;
4545
import org.junit.jupiter.api.Disabled;
4646
import org.junit.jupiter.api.Test;
47-
import org.junit.jupiter.api.condition.DisabledForJreRange;
48-
import org.junit.jupiter.api.condition.JRE;
4947
import org.mockito.InOrder;
5048

5149
import org.springframework.boot.testsupport.classpath.resources.WithPackageResources;
@@ -305,14 +303,6 @@ void sslRestrictedProtocolsECDHESuccess() throws Exception {
305303
new String[] { "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" });
306304
}
307305

308-
@Test
309-
@WithPackageResources("restricted.jks")
310-
@DisabledForJreRange(min = JRE.JAVA_24)
311-
void sslRestrictedProtocolsRSATLS12Success() throws Exception {
312-
testRestrictedSSLProtocolsAndCipherSuites(new String[] { "TLSv1.2" },
313-
new String[] { "TLS_RSA_WITH_AES_128_CBC_SHA256" });
314-
}
315-
316306
@Test
317307
@WithPackageResources("restricted.jks")
318308
void sslRestrictedProtocolsRSATLS11Failure() {

0 commit comments

Comments
 (0)