Skip to content

Commit

Permalink
Use mongo 6 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yong Sheng Tan authored and ystxn committed Dec 19, 2023
1 parent 6da0c43 commit beb304c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/symphony/devrel/pollbot/BaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class BaseTest {
@DynamicPropertySource
@SuppressWarnings("resource")
public static void setDatasourceProperties(final DynamicPropertyRegistry registry) {
MongoDBContainer container = new MongoDBContainer("mongo:5.0.8");
MongoDBContainer container = new MongoDBContainer("mongo:6");
container.start();
registry.add("spring.data.mongodb.uri", container::getReplicaSetUrl);
}
Expand Down

0 comments on commit beb304c

Please sign in to comment.