49
49
import org .springframework .web .reactive .function .server .ServerRequest ;
50
50
import org .springframework .web .reactive .function .server .ServerResponse ;
51
51
import org .springframework .web .testfixture .http .server .reactive .bootstrap .HttpServer ;
52
+ import org .springframework .web .testfixture .http .server .reactive .bootstrap .ReactorNetty2HttpServer ;
52
53
import org .springframework .web .testfixture .http .server .reactive .bootstrap .UndertowHttpServer ;
53
54
54
55
import static org .assertj .core .api .Assertions .assertThat ;
@@ -68,6 +69,9 @@ class MultipartRouterFunctionIntegrationTests extends AbstractRouterFunctionInte
68
69
69
70
@ ParameterizedHttpServerTest
70
71
void multipartData (HttpServer httpServer ) throws Exception {
72
+ // TODO Determine why Reactor Netty 2 fails: https://github.com/spring-projects/spring-framework/issues/31110
73
+ assumeFalse (httpServer instanceof ReactorNetty2HttpServer , "Potential bug in Netty 5 multipart support" );
74
+
71
75
startServer (httpServer );
72
76
73
77
Mono <ResponseEntity <Void >> result = webClient
@@ -86,6 +90,9 @@ void multipartData(HttpServer httpServer) throws Exception {
86
90
87
91
@ ParameterizedHttpServerTest
88
92
void parts (HttpServer httpServer ) throws Exception {
93
+ // TODO Determine why Reactor Netty 2 fails: https://github.com/spring-projects/spring-framework/issues/31110
94
+ assumeFalse (httpServer instanceof ReactorNetty2HttpServer , "Potential bug in Netty 5 multipart support" );
95
+
89
96
startServer (httpServer );
90
97
91
98
Mono <ResponseEntity <Void >> result = webClient
@@ -106,6 +113,8 @@ void parts(HttpServer httpServer) throws Exception {
106
113
void transferTo (HttpServer httpServer ) throws Exception {
107
114
// TODO Determine why Undertow fails: https://github.com/spring-projects/spring-framework/issues/25310
108
115
assumeFalse (httpServer instanceof UndertowHttpServer , "Undertow currently fails with transferTo" );
116
+ // TODO Determine why Reactor Netty 2 fails: https://github.com/spring-projects/spring-framework/issues/31110
117
+ assumeFalse (httpServer instanceof ReactorNetty2HttpServer , "Potential bug in Netty 5 multipart support" );
109
118
110
119
verifyTransferTo (httpServer );
111
120
}
@@ -145,6 +154,9 @@ private void verifyTransferTo(HttpServer httpServer) throws Exception {
145
154
146
155
@ ParameterizedHttpServerTest
147
156
void partData (HttpServer httpServer ) throws Exception {
157
+ // TODO Determine why Reactor Netty 2 fails: https://github.com/spring-projects/spring-framework/issues/31110
158
+ assumeFalse (httpServer instanceof ReactorNetty2HttpServer , "Potential bug in Netty 5 multipart support" );
159
+
148
160
startServer (httpServer );
149
161
150
162
Mono <ResponseEntity <Void >> result = webClient
@@ -164,6 +176,8 @@ void partData(HttpServer httpServer) throws Exception {
164
176
@ ParameterizedHttpServerTest
165
177
void proxy (HttpServer httpServer ) throws Exception {
166
178
assumeFalse (httpServer instanceof UndertowHttpServer , "Undertow currently fails proxying requests" );
179
+ // TODO Determine why Reactor Netty 2 fails: https://github.com/spring-projects/spring-framework/issues/31110
180
+ assumeFalse (httpServer instanceof ReactorNetty2HttpServer , "Potential bug in Netty 5 multipart support" );
167
181
168
182
startServer (httpServer );
169
183
0 commit comments