This commit is contained in:
izeye
2021-02-13 23:18:27 +09:00
committed by Stephane Nicoll
parent 3471adcf09
commit f48893def5
3 changed files with 7 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ public class LifecycleAutoConfigurationTests {
}
@Test
void lifecycleProcessorIsConfiguredWithCustomDefaultTimeout() {
void lifecycleProcessorIsConfiguredWithCustomTimeout() {
this.contextRunner.withPropertyValues("spring.lifecycle.timeout-per-shutdown-phase=15s").run((context) -> {
assertThat(context).hasBean(AbstractApplicationContext.LIFECYCLE_PROCESSOR_BEAN_NAME);
Object processor = context.getBean(AbstractApplicationContext.LIFECYCLE_PROCESSOR_BEAN_NAME);
@@ -56,7 +56,7 @@ public class LifecycleAutoConfigurationTests {
}
@Test
void lifecycleProcessorIsConfiguredWithCustomDefaultTimeoutInAChildContext() {
void lifecycleProcessorIsConfiguredWithCustomTimeoutInAChildContext() {
new ApplicationContextRunner().run((parent) -> {
this.contextRunner.withParent(parent).withPropertyValues("spring.lifecycle.timeout-per-shutdown-phase=15s")
.run((child) -> {