spring-boot/spring-boot-project
Brian Clozel 00114f9d61 Deregister failed contexts from SpringApplicationShutdownHook
Prior to this change, SpringApplication would register contexts to
SpringApplicationShutdownHook and only deregister them when they're
properly closed. A failed refresh attempt does not deregister the
context from the shutdown hook.
When a test suite runs lots of tests failing because of failed contexts,
this can build up and consume lots of resources.

This commit fixes this leak and deregisters failed contexts.

Fixes gh-29874
2022-02-18 13:54:14 +01:00
..
spring-boot Deregister failed contexts from SpringApplicationShutdownHook 2022-02-18 13:54:14 +01:00
spring-boot-actuator Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
spring-boot-actuator-autoconfigure Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
spring-boot-autoconfigure Remove KafkaPropertiesKafka24Tests 2022-02-18 11:41:24 +00:00
spring-boot-cli Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
spring-boot-dependencies Upgrade to Spring Framework 5.3.16 2022-02-17 11:11:57 +01:00
spring-boot-devtools Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
spring-boot-docs Update copyright year of changed files 2022-02-16 17:56:19 -08:00
spring-boot-parent Upgrade to Testcontainers 1.16.2 2022-01-12 13:52:43 -08:00
spring-boot-properties-migrator
spring-boot-starters Update URL for GraphQL Spring Boot starter 2021-11-16 08:33:56 +01:00
spring-boot-test Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
spring-boot-test-autoconfigure Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
spring-boot-tools Update copyright year of changed files 2022-02-16 17:56:19 -08:00