Skip to content

Commit

Permalink
💚 : use mongodb 4.0 version
Browse files Browse the repository at this point in the history
version 4.2 removes the $eval command which is used in our
MongoContainer.
see https://docs.mongodb.com/manual/release-notes/4.2-compatibility/#remove-support-for-the-eval-command
  • Loading branch information
juwit committed Aug 15, 2019
1 parent 319fa56 commit 3725856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/codeka/gaia/test/MongoContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class MongoContainer extends GenericContainer {
private MongoDatabase database;

public MongoContainer() {
super("mongo");
super("mongo:4.0");
setExposedPorts(List.of(MONGO_PORT));
}

Expand Down

0 comments on commit 3725856

Please sign in to comment.