We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4e0a77 commit adf2c44Copy full SHA for adf2c44
spring-boot/src/main/java/org/springframework/boot/test/SpringApplicationContextLoader.java
@@ -82,6 +82,7 @@ public ApplicationContext loadContext(final MergedContextConfiguration config)
82
throws Exception {
83
assertValidAnnotations(config.getTestClass());
84
SpringApplication application = getSpringApplication();
85
+ application.setRegisterShutdownHook(false);
86
application.setMainApplicationClass(config.getTestClass());
87
application.setSources(getSources(config));
88
ConfigurableEnvironment environment = new StandardEnvironment();
0 commit comments