Skip to content

Commit 750246f

Browse files
Hronomwilkinsona
authored andcommitted
Fix stopping of Embedded Mongo before context is closed
See gh-15692
1 parent 08ce814 commit 750246f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public IRuntimeConfig embeddedMongoRuntimeConfig() {
212212
"[console>]", Processors.logTo(logger, Slf4jLevel.DEBUG)));
213213
return new RuntimeConfigBuilder().defaultsWithLogger(Command.MongoD, logger)
214214
.processOutput(processOutput).artifactStore(getArtifactStore(logger))
215-
.build();
215+
.daemonProcess(false).build();
216216
}
217217

218218
private ArtifactStoreBuilder getArtifactStore(Logger logger) {

0 commit comments

Comments
 (0)