File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
src/intTest/java/uk/nhs/adaptors/gp2gp/testcontainers Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11services :
22 mongodb :
3- image : mongo:8.0.15
3+ image : mongo:4.4
44 ports :
55 - " 27017:27017"
66
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ services:
6262 mongodb :
6363 networks :
6464 - commonforgp2gp
65- image : mongo:8.0.15
65+ image : mongo:4.4
6666 ports :
6767 - " 27017:27017"
6868
Original file line number Diff line number Diff line change 11plugins {
2- id ' org.springframework.boot' version ' 3.5.1 '
2+ id ' org.springframework.boot' version ' 3.5.0 '
33 id ' io.spring.dependency-management' version ' 1.1.7'
44 id ' java'
55 id " checkstyle"
Original file line number Diff line number Diff line change 77@ Slf4j
88public final class MongoDbContainer extends GenericContainer <MongoDbContainer > {
99 public static final int MONGODB_PORT = 27017 ;
10- public static final String DEFAULT_IMAGE_AND_TAG = "mongo:8.0.15 " ;
10+ public static final String DEFAULT_IMAGE_AND_TAG = "mongo:4.4 " ;
1111 private static MongoDbContainer container ;
1212
1313 private MongoDbContainer () {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ dependencies {
1414 testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.8.2'
1515 testImplementation ' org.assertj:assertj-core:3.23.1'
1616 testImplementation ' org.apache.httpcomponents.client5:httpclient5:5.1.3'
17- testImplementation ' org.mongodb:mongodb-driver-sync:5 .6.0 '
17+ testImplementation ' org.mongodb:mongodb-driver-sync:4 .6.1 '
1818 testImplementation (' org.apache.qpid:qpid-jms-client:1.6.0' ) {
1919 exclude group : ' io.netty' , module : ' netty-codec-http'
2020 }
You can’t perform that action at this time.
0 commit comments