Merge branch '2.3.x'

Closes gh-22747
pull/22760/head
Andy Wilkinson 4 years ago
commit 0e83b2f4c4

@ -166,7 +166,7 @@ class WebMvcEndpointExposureIntegrationTests {
int port = context.getSourceApplicationContext(ServletWebServerApplicationContext.class).getWebServer() int port = context.getSourceApplicationContext(ServletWebServerApplicationContext.class).getWebServer()
.getPort(); .getPort();
ExchangeStrategies exchangeStrategies = ExchangeStrategies.builder() ExchangeStrategies exchangeStrategies = ExchangeStrategies.builder()
.codecs((configurer) -> configurer.defaultCodecs().maxInMemorySize(512 * 1024)).build(); .codecs((configurer) -> configurer.defaultCodecs().maxInMemorySize(-1)).build();
return WebTestClient.bindToServer().baseUrl("http://localhost:" + port).exchangeStrategies(exchangeStrategies) return WebTestClient.bindToServer().baseUrl("http://localhost:" + port).exchangeStrategies(exchangeStrategies)
.build(); .build();
} }

Loading…
Cancel
Save