Browse Source

Merge branch '2.3.x'

Closes gh-22103
pull/22113/head
Andy Wilkinson 6 years ago
parent
commit
fe78be240a
  1. 2
      spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/web/test/WebEndpointTestInvocationContextProvider.java

2
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/web/test/WebEndpointTestInvocationContextProvider.java

@ -194,7 +194,7 @@ class WebEndpointTestInvocationContextProvider implements TestTemplateInvocation @@ -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);
}

Loading…
Cancel
Save