Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Mongo driver version
Browse files Browse the repository at this point in the history
suresh-prakash committed Oct 12, 2024

Verified

This commit was signed with the committer’s verified signature.
DmitriyMV Dmitriy Matrenichev
1 parent 917b47e commit aeea285
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ private static void initializeAndConnectToPostgres() {

private static void initializeAndConnectToMongo() {
mongo =
new GenericContainer<>(DockerImageName.parse("mongo:7.0.14"))
new GenericContainer<>(DockerImageName.parse("mongo:8.0.1"))
.withExposedPorts(27017)
.waitingFor(Wait.forListeningPort());
mongo.start();
Original file line number Diff line number Diff line change
@@ -132,7 +132,7 @@ public class DocStoreQueryV1Test {
public static void init() throws IOException {
datastoreMap = Maps.newHashMap();
mongo =
new GenericContainer<>(DockerImageName.parse("mongo:7.0.14"))
new GenericContainer<>(DockerImageName.parse("mongo:8.0.1"))
.withExposedPorts(27017)
.waitingFor(Wait.forListeningPort());
mongo.start();
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ public class DocStoreTest {
public static void init() {
datastoreMap = Maps.newHashMap();
mongo =
new GenericContainer<>(DockerImageName.parse("mongo:7.0.14"))
new GenericContainer<>(DockerImageName.parse("mongo:8.0.1"))
.withExposedPorts(27017)
.waitingFor(Wait.forListeningPort());
mongo.start();
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ public class MongoDocStoreTest {
@BeforeAll
public static void init() {
mongo =
new GenericContainer<>(DockerImageName.parse("mongo:7.0.14"))
new GenericContainer<>(DockerImageName.parse("mongo:8.0.1"))
.withExposedPorts(27017)
.waitingFor(Wait.forListeningPort());
mongo.start();
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ org-junit-jupiter-junit-jupiter = { module = "org.junit.jupiter:junit-jupiter",
org-mockito-mockito-core = { module = "org.mockito:mockito-core", version.ref = "org-mockito" }
org-mockito-mockito-inline = { module = "org.mockito:mockito-inline", version.ref = "org-mockito" }
org-mockito-mockito-junit-jupiter = { module = "org.mockito:mockito-junit-jupiter", version.ref = "org-mockito" }
org-mongodb-mongodb-driver-sync = { module = "org.mongodb:mongodb-driver-sync", version = "5.1.4" }
org-mongodb-mongodb-driver-sync = { module = "org.mongodb:mongodb-driver-sync", version = "5.2.0" }
org-postgresql = { module = "org.postgresql:postgresql", version = "42.5.5" }
org-projectlombok-lombok = { module = "org.projectlombok:lombok", version = "1.18.30" }
org-slf4j-slf4j-api = { module = "org.slf4j:slf4j-api", version = "1.7.36" }

0 comments on commit aeea285

Please sign in to comment.