Skip to content

Commit

Permalink
Update mongo in memory version to V5_0
Browse files Browse the repository at this point in the history
  • Loading branch information
stzanakis committed Dec 20, 2024
1 parent 9a71972 commit 07cdd61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import de.flapdoodle.embed.mongo.commands.ImmutableMongodArguments;
import de.flapdoodle.embed.mongo.commands.MongodArguments;
import de.flapdoodle.embed.mongo.config.Net;
import de.flapdoodle.embed.mongo.distribution.Version;
import de.flapdoodle.embed.mongo.distribution.Version.Main;
import de.flapdoodle.embed.mongo.transitions.ImmutableMongod;
import de.flapdoodle.embed.mongo.transitions.Mongod;
import de.flapdoodle.embed.mongo.transitions.RunningMongodProcess;
Expand Down Expand Up @@ -61,7 +61,7 @@ public void start() {
.withProcessOutput(Start.to(ProcessOutput.class).initializedWith(processOutput))
.withMongodArguments(Start.to(MongodArguments.class).initializedWith(mongodArguments));

runningMongodProcessReachedState = mongod.start(Version.Main.V4_4);
runningMongodProcessReachedState = mongod.start(Main.V5_0);

} catch (IOException e) {
LOGGER.error("Exception when starting embedded mongo", e);
Expand Down

0 comments on commit 07cdd61

Please sign in to comment.