Skip to content

Commit 68aa32a

Browse files
committed
Deps updated:
- clickhouse-jdbc 0.3.2-patch11 - testcontainers 1.17.5
1 parent a231f89 commit 68aa32a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ repositories {
1919

2020
dependencies {
2121
api(kotlin("stdlib"))
22-
api("com.clickhouse", "clickhouse-jdbc", "0.3.2-patch9")
22+
api("com.clickhouse", "clickhouse-jdbc", "0.3.2-patch11")
2323
api("joda-time", "joda-time", "2.11.1")
2424
api("org.slf4j", "slf4j-api", "1.7.36")
2525

2626
testImplementation("org.junit.jupiter", "junit-jupiter-api", "5.8.2")
2727
testImplementation("org.junit.jupiter", "junit-jupiter-engine", "5.8.2")
2828

29-
testImplementation("org.testcontainers", "testcontainers", "1.17.3")
30-
testImplementation("org.testcontainers", "clickhouse", "1.17.3")
29+
testImplementation("org.testcontainers", "testcontainers", "1.17.5")
30+
testImplementation("org.testcontainers", "clickhouse", "1.17.5")
3131
}
3232

3333
tasks.withType<JavaCompile> {

src/test/kotlin/tanvd/aorm/utils/AormTestBase.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ abstract class AormTestBase {
1414
companion object {
1515
const val testInsertWorkerDelayMs = 2000L
1616

17-
val serverContainer = ClickHouseContainer("clickhouse/clickhouse-server:22.3.8.39-alpine").apply {
17+
val serverContainer = object : ClickHouseContainer("clickhouse/clickhouse-server:22.3.8.39-alpine") {
18+
override fun getDriverClassName(): String = "com.clickhouse.jdbc.ClickHouseDriver"
19+
}.apply {
1820
start()
1921
// we need to disable query parser stack limitation for tests, so we add line "<max_parser_depth>0</max_parser_depth>" to the config:
2022
execInContainer("sed", "-i", "/^.*\\<max_memory_usage\\>.*/a \\<max_parser_depth\\>0\\<\\/max_parser_depth\\>", "/etc/clickhouse-server/users.xml")

0 commit comments

Comments
 (0)