Skip to content

Commit 1887040

Browse files
committed
Switch to Java engine for tests to avoid "control frames can't be fragmented" error
1 parent dd019bd commit 1887040

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ kotlin {
9393
}
9494
jvmTest {
9595
dependencies {
96-
implementation(libs.ktor.client.cio)
96+
implementation(libs.ktor.client.java)
9797
implementation(libs.slf4j.simple)
9898
implementation(libs.testcontainers.base)
9999
implementation(libs.testcontainers.junit.jupiter)

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ kotlinpoet = { module = "com.squareup:kotlinpoet", version.ref = "kotlinpoet"}
3434
kotlinx-atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version.ref = "kotlinx-atomicfu" }
3535
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" }
3636
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" }
37-
ktor-client-cio = { module = "io.ktor:ktor-client-cio", version.ref = "ktor" }
3837
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
3938
ktor-client-contentNegotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
39+
ktor-client-java = { module = "io.ktor:ktor-client-java", version.ref = "ktor" }
4040
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
4141
slf4j-simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j"}
4242
testcontainers-base = { module = "org.testcontainers:testcontainers", version.ref = "testcontainers" }

0 commit comments

Comments
 (0)