@ -60,6 +60,7 @@ import org.springframework.web.reactive.function.client.WebClient;
@@ -60,6 +60,7 @@ import org.springframework.web.reactive.function.client.WebClient;
import org.springframework.web.server.adapter.WebHttpHandlerBuilder ;
import org.springframework.web.testfixture.http.server.reactive.bootstrap.AbstractHttpHandlerIntegrationTests ;
import org.springframework.web.testfixture.http.server.reactive.bootstrap.HttpServer ;
import org.springframework.web.testfixture.http.server.reactive.bootstrap.TomcatHttpServer ;
import org.springframework.web.testfixture.http.server.reactive.bootstrap.UndertowHttpServer ;
import static org.assertj.core.api.Assertions.assertThat ;
@ -87,6 +88,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@@ -87,6 +88,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@ParameterizedHttpServerTest
void requestPart ( HttpServer httpServer ) throws Exception {
assumeFalse ( httpServer instanceof TomcatHttpServer ,
"TomcatHttpServer fails with invalid request body chunk" ) ;
startServer ( httpServer ) ;
Mono < ResponseEntity < Void > > result = webClient
@ -104,6 +107,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@@ -104,6 +107,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@ParameterizedHttpServerTest
void requestBodyMap ( HttpServer httpServer ) throws Exception {
assumeFalse ( httpServer instanceof TomcatHttpServer ,
"TomcatHttpServer fails with invalid request body chunk" ) ;
startServer ( httpServer ) ;
Mono < String > result = webClient
@ -120,6 +125,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@@ -120,6 +125,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@ParameterizedHttpServerTest
void requestBodyFlux ( HttpServer httpServer ) throws Exception {
assumeFalse ( httpServer instanceof TomcatHttpServer ,
"TomcatHttpServer fails with invalid request body chunk" ) ;
startServer ( httpServer ) ;
Mono < String > result = webClient
@ -136,6 +143,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@@ -136,6 +143,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@ParameterizedHttpServerTest
void filePartsFlux ( HttpServer httpServer ) throws Exception {
assumeFalse ( httpServer instanceof TomcatHttpServer ,
"TomcatHttpServer fails with invalid request body chunk" ) ;
startServer ( httpServer ) ;
Mono < String > result = webClient
@ -152,6 +161,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@@ -152,6 +161,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@ParameterizedHttpServerTest
void filePartsMono ( HttpServer httpServer ) throws Exception {
assumeFalse ( httpServer instanceof TomcatHttpServer ,
"TomcatHttpServer fails with invalid request body chunk" ) ;
startServer ( httpServer ) ;
Mono < String > result = webClient
@ -168,6 +179,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@@ -168,6 +179,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@ParameterizedHttpServerTest
void transferTo ( HttpServer httpServer ) throws Exception {
assumeFalse ( httpServer instanceof TomcatHttpServer ,
"TomcatHttpServer fails with invalid request body chunk" ) ;
// TODO Determine why Undertow fails: https://github.com/spring-projects/spring-framework/issues/25310
assumeFalse ( httpServer instanceof UndertowHttpServer , "Undertow currently fails with transferTo" ) ;
startServer ( httpServer ) ;
@ -188,6 +201,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@@ -188,6 +201,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@ParameterizedHttpServerTest
void modelAttribute ( HttpServer httpServer ) throws Exception {
assumeFalse ( httpServer instanceof TomcatHttpServer ,
"TomcatHttpServer fails with invalid request body chunk" ) ;
startServer ( httpServer ) ;
Mono < String > result = webClient
@ -204,6 +219,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@@ -204,6 +219,8 @@ class MultipartWebClientIntegrationTests extends AbstractHttpHandlerIntegrationT
@ParameterizedHttpServerTest
void partData ( HttpServer httpServer ) throws Exception {
assumeFalse ( httpServer instanceof TomcatHttpServer ,
"TomcatHttpServer fails with invalid request body chunk" ) ;
startServer ( httpServer ) ;
Mono < String > result = webClient