mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-30 14:19:30 +00:00
Merge branch '4.0.x'
This commit is contained in:
+2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user