Merge branch '2.3.x'

Closes gh-24404
pull/24418/head
Phillip Webb 4 years ago
commit cd5ff6e4af

@ -21,7 +21,6 @@ import io.micrometer.core.instrument.MeterRegistry;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.actuate.autoconfigure.integration.IntegrationGraphEndpointAutoConfiguration; import org.springframework.boot.actuate.autoconfigure.integration.IntegrationGraphEndpointAutoConfiguration;
import org.springframework.boot.actuate.autoconfigure.metrics.amqp.RabbitMetricsAutoConfiguration;
import org.springframework.boot.actuate.autoconfigure.metrics.test.MetricsRun; import org.springframework.boot.actuate.autoconfigure.metrics.test.MetricsRun;
import org.springframework.boot.autoconfigure.AutoConfigurations; import org.springframework.boot.autoconfigure.AutoConfigurations;
import org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration; import org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration;
@ -30,7 +29,7 @@ import org.springframework.boot.test.context.runner.ApplicationContextRunner;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Tests for {@link RabbitMetricsAutoConfiguration}. * Tests for {@link IntegrationMetricsAutoConfiguration}.
* *
* @author Artem Bilan * @author Artem Bilan
*/ */

@ -1171,7 +1171,7 @@ class WebMvcAutoConfigurationTests {
private int exceptionResolvers = 0; private int exceptionResolvers = 0;
@Bean @Bean
WebMvcRegistrations webMvcRegistrationsHandlerAdapter() { WebMvcRegistrations webMvcRegistrationsExceptionResolver() {
return new WebMvcRegistrations() { return new WebMvcRegistrations() {
@Override @Override

@ -6810,7 +6810,7 @@ For setting the timeout of the session you can use the configprop:spring.session
If that property is not set with a Servlet web appplication, the auto-configuration falls back to the value of configprop:server.servlet.session.timeout[]. If that property is not set with a Servlet web appplication, the auto-configuration falls back to the value of configprop:server.servlet.session.timeout[].
You can take control over Spring Session's configuration using `@Enable*HttpSession` (Servlet) or `@Enable@WebSession` (Reactive). You can take control over Spring Session's configuration using `@Enable*HttpSession` (Servlet) or `@Enable*WebSession` (Reactive).
This will cause the auto-configuration to back off. This will cause the auto-configuration to back off.
Spring Session can then be configured using the annotation's attributes rather than the previously described configuration properties. Spring Session can then be configured using the annotation's attributes rather than the previously described configuration properties.

@ -152,7 +152,7 @@ class JarFileWrapperTests {
} }
@Test @Test
void streamDelegatestoParent() { void streamDelegatesToParent() {
this.wrapper.stream(); this.wrapper.stream();
this.parent.verify(Call.STREAM); this.parent.verify(Call.STREAM);
} }

Loading…
Cancel
Save