Skip to content

Commit a849f76

Browse files
committed
Merge branch '5.3.x'
2 parents 198576d + c92b9bc commit a849f76

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

spring-webflux/src/test/java/org/springframework/web/reactive/function/MultipartIntegrationTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -47,6 +47,7 @@
4747

4848
import static org.assertj.core.api.Assertions.assertThat;
4949
import static org.assertj.core.api.Assertions.fail;
50+
import static org.junit.jupiter.api.Assumptions.assumeFalse;
5051
import static org.springframework.web.reactive.function.server.RouterFunctions.route;
5152

5253
/**
@@ -97,10 +98,9 @@ void parts(HttpServer httpServer) throws Exception {
9798

9899
@ParameterizedHttpServerTest
99100
void transferTo(HttpServer httpServer) throws Exception {
100-
// TODO: check why Undertow fails
101-
if (httpServer instanceof UndertowHttpServer) {
102-
return;
103-
}
101+
// TODO Determine why Undertow fails: https://github.com/spring-projects/spring-framework/issues/25310
102+
assumeFalse(httpServer instanceof UndertowHttpServer, "Undertow currently fails with transferTo");
103+
104104
startServer(httpServer);
105105

106106
Mono<String> result = webClient

spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/MultipartIntegrationTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -60,6 +60,7 @@
6060
import org.springframework.web.testfixture.http.server.reactive.bootstrap.UndertowHttpServer;
6161

6262
import static org.assertj.core.api.Assertions.assertThat;
63+
import static org.junit.jupiter.api.Assumptions.assumeFalse;
6364

6465
class MultipartIntegrationTests extends AbstractHttpHandlerIntegrationTests {
6566

@@ -164,10 +165,9 @@ void filePartsMono(HttpServer httpServer) throws Exception {
164165

165166
@ParameterizedHttpServerTest
166167
void transferTo(HttpServer httpServer) throws Exception {
167-
// TODO: check why Undertow fails
168-
if (httpServer instanceof UndertowHttpServer) {
169-
return;
170-
}
168+
// TODO Determine why Undertow fails: https://github.com/spring-projects/spring-framework/issues/25310
169+
assumeFalse(httpServer instanceof UndertowHttpServer, "Undertow currently fails with transferTo");
170+
171171
startServer(httpServer);
172172

173173
Flux<String> result = webClient

0 commit comments

Comments
 (0)