Merge branch '2.2.x' into 2.3.x

Closes gh-22746
This commit is contained in:
Andy Wilkinson
2020-08-05 17:47:24 +01:00

View File

@@ -166,7 +166,7 @@ class WebMvcEndpointExposureIntegrationTests {
int port = context.getSourceApplicationContext(ServletWebServerApplicationContext.class).getWebServer()
.getPort();
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)
.build();
}