Skip to content

Commit 201bfd2

Browse files
committed
Upgrade to Netty 4.1.52.Final
Closes gh-23313
1 parent 7160777 commit 201bfd2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ bom {
12371237
]
12381238
}
12391239
}
1240-
library("Netty", "4.1.51.Final") {
1240+
library("Netty", "4.1.52.Final") {
12411241
group("io.netty") {
12421242
imports = [
12431243
"netty-bom"

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/reactive/server/AbstractReactiveWebServerFactoryTests.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,11 @@ protected void testClientAuthFailure(Ssl sslConfiguration, ReactorClientHttpConn
268268
Mono<String> result = client.post().uri("/test").contentType(MediaType.TEXT_PLAIN)
269269
.body(BodyInserters.fromValue("Hello World")).exchange()
270270
.flatMap((response) -> response.bodyToMono(String.class));
271-
StepVerifier.create(result).expectError(SSLException.class).verify(Duration.ofSeconds(10));
271+
StepVerifier.create(result).expectErrorSatisfies((exception) -> {
272+
if (!(exception instanceof SSLException)) {
273+
assertThat(exception).hasCauseInstanceOf(SSLException.class);
274+
}
275+
}).verify(Duration.ofSeconds(10));
272276
}
273277

274278
protected WebClient.Builder getWebClient(int port) {

0 commit comments

Comments
 (0)