Merge branch '4.0.x'

This commit is contained in:
Phillip Webb
2026-02-06 21:06:35 -08:00
@@ -26,6 +26,7 @@ import java.util.concurrent.TimeUnit;
import org.awaitility.Awaitility;
import org.jspecify.annotations.Nullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.mockito.InOrder;
@@ -99,6 +100,7 @@ class SpringApplicationShutdownHookTests {
}
@Test
@Disabled
void runWhenContextIsBeingClosedInAnotherThreadWaitsUntilContextIsInactive() throws InterruptedException {
// This situation occurs in the Spring Tools IDE. It triggers a context close via
// JMX and then stops the JVM. The two actions happen almost simultaneously