Skip to content

Commit ee982d9

Browse files
committed
Fix WebFluxDslTests for reply size limitation
* Upgrade to the latest SF and Spring Data
1 parent 4f35761 commit ee982d9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ ext {
101101
servletApiVersion = '6.1.0'
102102
smackVersion = '4.4.8'
103103
springAmqpVersion = '4.0.0'
104-
springDataVersion = '2025.1.1-SNAPSHOT'
104+
springDataVersion = '2025.1.1'
105105
springGraphqlVersion = '2.0.1-SNAPSHOT'
106106
springKafkaVersion = '4.0.1-SNAPSHOT'
107107
springSecurityVersion = '7.0.1-SNAPSHOT'
108-
springVersion = '7.0.2-SNAPSHOT'
108+
springVersion = '7.0.2'
109109
springWsVersion = '5.0.0'
110110
testcontainersVersion = '2.0.2'
111111
tomcatVersion = '11.0.15'

spring-integration-webflux/src/test/java/org/springframework/integration/webflux/dsl/WebFluxDslTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
import org.assertj.core.api.InstanceOfAssertFactories;
2424
import org.junit.jupiter.api.BeforeEach;
25-
import org.junit.jupiter.api.Disabled;
2625
import org.junit.jupiter.api.Test;
2726
import org.reactivestreams.Publisher;
2827
import reactor.core.publisher.Flux;
@@ -139,6 +138,9 @@ public void setup() {
139138
.apply(SecurityMockServerConfigurers.springSecurity())
140139
.configureClient()
141140
.responseTimeout(Duration.ofSeconds(10))
141+
.codecs(clientCodecConfigurer -> clientCodecConfigurer
142+
.defaultCodecs()
143+
.maxInMemorySize(1024 * 1024))
142144
.build();
143145
}
144146

@@ -237,7 +239,6 @@ public void testHttpReactivePost() {
237239
}
238240

239241
@Test
240-
@Disabled
241242
public void testHttpReactivePostWithError() {
242243
this.webTestClient.post().uri("/reactivePostErrors")
243244
.headers(headers -> headers.setBasicAuth("guest", "guest"))

0 commit comments

Comments
 (0)