Skip to content

Commit 6b8ce79

Browse files
authored
refactor: upgrade testcontainers dependencies (#763)
1 parent 88a0221 commit 6b8ce79

File tree

15 files changed

+47
-47
lines changed

15 files changed

+47
-47
lines changed

cli/flamingock-cli/build.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ dependencies {
5050
testImplementation("org.mockito:mockito-core:5.8.0")
5151
testImplementation("org.mockito:mockito-junit-jupiter:5.8.0")
5252
testImplementation("org.assertj:assertj-core:3.24.2")
53-
testImplementation("org.testcontainers:junit-jupiter:1.19.3")
54-
testImplementation("org.testcontainers:mongodb:1.19.3")
55-
testImplementation("org.testcontainers:couchbase:1.19.3")
53+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
54+
testImplementation("org.testcontainers:testcontainers-mongodb:2.0.2")
55+
testImplementation("org.testcontainers:testcontainers-couchbase:2.0.2")
5656
testImplementation("com.github.stefanbirkner:system-lambda:1.2.1")
5757
// SQL Testcontainers
58-
testImplementation("org.testcontainers:mysql:1.19.3")
59-
testImplementation("org.testcontainers:mssqlserver:1.19.3")
60-
testImplementation("org.testcontainers:oracle-xe:1.19.3")
61-
testImplementation("org.testcontainers:postgresql:1.19.3")
62-
testImplementation("org.testcontainers:mariadb:1.19.3")
58+
testImplementation("org.testcontainers:testcontainers-mysql:2.0.2")
59+
testImplementation("org.testcontainers:testcontainers-mssqlserver:2.0.2")
60+
testImplementation("org.testcontainers:testcontainers-oracle-xe:2.0.2")
61+
testImplementation("org.testcontainers:testcontainers-postgresql:2.0.2")
62+
testImplementation("org.testcontainers:testcontainers-mariadb:2.0.2")
6363

6464
}
6565

community/flamingock-auditstore-couchbase/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ dependencies {
55

66
compileOnly("com.couchbase.client:java-client:3.6.0")
77

8-
testImplementation("org.testcontainers:couchbase:1.21.3")
9-
testImplementation("org.testcontainers:junit-jupiter:1.21.3")
8+
testImplementation("org.testcontainers:testcontainers-couchbase:2.0.2")
9+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
1010
}
1111

1212
description = "Couchbase audit store implementation for distributed change auditing"

community/flamingock-auditstore-dynamodb/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dependencies {
1111
testImplementation(project(":core:target-systems:nontransactional-target-system"))
1212

1313
testImplementation("software.amazon.awssdk:url-connection-client:2.24.11")
14-
testImplementation("org.testcontainers:junit-jupiter:1.19.0")
15-
testImplementation("org.testcontainers:testcontainers:1.19.0")
14+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
15+
testImplementation("org.testcontainers:testcontainers:2.0.2")
1616

1717
// Mongock
1818
testImplementation("io.mongock:mongock-standalone:5.5.0")

community/flamingock-auditstore-mongodb-sync/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ dependencies {
1313
testImplementation(project(":utils:test-util"))
1414
testImplementation(project(":core:target-systems:nontransactional-target-system"))
1515
testImplementation(project(":e2e:core-e2e"))
16-
testImplementation("org.testcontainers:mongodb:1.18.3")
17-
testImplementation("org.testcontainers:junit-jupiter:1.18.3")
16+
testImplementation("org.testcontainers:testcontainers-mongodb:2.0.2")
17+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
1818
testImplementation("org.mockito:mockito-inline:4.11.0")
1919

2020
testImplementation("io.mongock:mongock-standalone:5.5.0")

community/flamingock-auditstore-sql/build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ dependencies {
1010
testImplementation("com.oracle.database.jdbc:ojdbc8:21.9.0.0")
1111
testImplementation("org.postgresql:postgresql:42.7.3")
1212
testImplementation("org.mariadb.jdbc:mariadb-java-client:3.3.2")
13-
testImplementation("org.testcontainers:mysql:1.21.3")
14-
testImplementation("org.testcontainers:mssqlserver:1.21.3")
15-
testImplementation("org.testcontainers:oracle-xe:1.21.3")
16-
testImplementation("org.testcontainers:postgresql:1.21.3")
17-
testImplementation("org.testcontainers:mariadb:1.21.3")
13+
testImplementation("org.testcontainers:testcontainers-mysql:2.0.2")
14+
testImplementation("org.testcontainers:testcontainers-mssqlserver:2.0.2")
15+
testImplementation("org.testcontainers:testcontainers-oracle-xe:2.0.2")
16+
testImplementation("org.testcontainers:testcontainers-postgresql:2.0.2")
17+
testImplementation("org.testcontainers:testcontainers-mariadb:2.0.2")
1818
testImplementation(project(":utils:test-util"))
1919
testImplementation("com.zaxxer:HikariCP:3.4.5")
20-
testImplementation("org.testcontainers:junit-jupiter:1.21.3")
20+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
2121
testImplementation("com.h2database:h2:2.2.224")
2222
testImplementation("org.mockito:mockito-inline:4.11.0")
2323
testImplementation("org.xerial:sqlite-jdbc:3.41.2.1")

core/target-systems/couchbase-target-system/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ dependencies {
1010
compileOnly("com.couchbase.client:java-client:3.6.0")
1111

1212
//Test
13-
testImplementation("org.testcontainers:couchbase:1.21.3")
14-
testImplementation("org.testcontainers:junit-jupiter:1.21.3")
13+
testImplementation("org.testcontainers:testcontainers-couchbase:2.0.2")
14+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
1515

1616
testImplementation(project(":cloud:flamingock-cloud"))
1717
testImplementation(project(":utils:test-util"))

core/target-systems/mongodb-springdata-target-system/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ dependencies {
1717
compileOnly("org.springframework.data:spring-data-mongodb:${versions["spring-data"]}")
1818

1919
//Test
20-
testImplementation("org.testcontainers:mongodb:1.18.3")
21-
testImplementation("org.testcontainers:junit-jupiter:1.18.3")
20+
testImplementation("org.testcontainers:testcontainers-mongodb:2.0.2")
21+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
2222

2323
testImplementation(project(":cloud:flamingock-cloud"))
2424
testImplementation(project(":utils:test-util"))

core/target-systems/mongodb-sync-target-system/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ dependencies {
99
compileOnly("org.mongodb:mongodb-driver-sync:4.0.0")
1010

1111
//Test
12-
testImplementation("org.testcontainers:mongodb:1.18.3")
13-
testImplementation("org.testcontainers:junit-jupiter:1.18.3")
12+
testImplementation("org.testcontainers:testcontainers-mongodb:2.0.2")
13+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
1414

1515
testImplementation(project(":cloud:flamingock-cloud"))
1616
testImplementation(project(":utils:test-util"))

core/target-systems/sql-target-system/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ dependencies {
77
implementation(project(":utils:sql-util"))
88

99
//Test
10-
testImplementation("org.testcontainers:testcontainers-mysql:2.0.1")
11-
testImplementation("org.testcontainers:testcontainers-postgresql:2.0.1")
12-
testImplementation("org.testcontainers:testcontainers-mssqlserver:2.0.1")
13-
testImplementation("org.testcontainers:testcontainers-oracle-free:2.0.1")
10+
testImplementation("org.testcontainers:testcontainers-mysql:2.0.2")
11+
testImplementation("org.testcontainers:testcontainers-postgresql:2.0.2")
12+
testImplementation("org.testcontainers:testcontainers-mssqlserver:2.0.2")
13+
testImplementation("org.testcontainers:testcontainers-oracle-free:2.0.2")
1414
testImplementation("mysql:mysql-connector-java:8.0.33")
1515
testImplementation("org.postgresql:postgresql:42.7.8")
1616
testImplementation("com.microsoft.sqlserver:mssql-jdbc:13.2.1.jre8")
@@ -19,7 +19,7 @@ dependencies {
1919
testImplementation("com.h2database:h2:2.2.220")
2020
testImplementation("org.apache.derby:derbytools:10.15.2.0")
2121
testImplementation("org.firebirdsql.jdbc:jaybird:5.0.10.java8")
22-
testImplementation("org.testcontainers:junit-jupiter:1.18.3")
22+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
2323

2424
testImplementation(project(":cloud:flamingock-cloud"))
2525
testImplementation(project(":utils:test-util"))

legacy/mongock-importer-couchbase/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ dependencies {
1515
testImplementation(project(":utils:couchbase-util"))
1616
testImplementation(project(":utils:test-util"))
1717

18-
testImplementation("org.testcontainers:couchbase:1.21.3")
19-
testImplementation("org.testcontainers:junit-jupiter:1.21.3")
18+
testImplementation("org.testcontainers:testcontainers-couchbase:2.0.2")
19+
testImplementation("org.testcontainers:testcontainers-junit-jupiter:2.0.2")
2020
testImplementation("org.mockito:mockito-inline:4.11.0")
2121
}
2222

0 commit comments

Comments
 (0)