Merge branch '2.2.x' into 2.3.x

Closes gh-22102
This commit is contained in:
Andy Wilkinson 2020-06-25 10:32:32 +01:00
commit a2f7ce0564
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class WebEndpointTestInvocationContextProvider implements TestTemplateInvocation
"http://localhost:" + determinePort());
uriBuilderFactory.setEncodingMode(EncodingMode.NONE);
return WebTestClient.bindToServer().uriBuilderFactory(uriBuilderFactory).responseTimeout(TIMEOUT)
.filter((request, next) -> {
.codecs((codecs) -> codecs.defaultCodecs().maxInMemorySize(-1)).filter((request, next) -> {
if (HttpMethod.GET == request.method()) {
return next.exchange(request).retry(10);
}