Upgrade to Netty 4.1.52.Final
Closes gh-23269
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
<mysql.version>8.0.21</mysql.version>
|
||||
<nekohtml.version>1.9.22</nekohtml.version>
|
||||
<neo4j-ogm.version>3.1.21</neo4j-ogm.version>
|
||||
<netty.version>4.1.51.Final</netty.version>
|
||||
<netty.version>4.1.52.Final</netty.version>
|
||||
<netty-tcnative.version>2.0.34.Final</netty-tcnative.version>
|
||||
<nio-multipart-parser.version>1.1.0</nio-multipart-parser.version>
|
||||
<pooled-jms.version>1.0.6</pooled-jms.version>
|
||||
|
||||
@@ -259,7 +259,11 @@ public abstract class AbstractReactiveWebServerFactoryTests {
|
||||
Mono<String> result = client.post().uri("/test").contentType(MediaType.TEXT_PLAIN)
|
||||
.body(BodyInserters.fromObject("Hello World")).exchange()
|
||||
.flatMap((response) -> response.bodyToMono(String.class));
|
||||
StepVerifier.create(result).expectError(SSLException.class).verify(Duration.ofSeconds(10));
|
||||
StepVerifier.create(result).expectErrorSatisfies((exception) -> {
|
||||
if (!(exception instanceof SSLException)) {
|
||||
assertThat(exception).hasCauseInstanceOf(SSLException.class);
|
||||
}
|
||||
}).verify(Duration.ofSeconds(10));
|
||||
}
|
||||
|
||||
protected WebClient.Builder getWebClient() {
|
||||
|
||||
Reference in New Issue
Block a user