From e60c2a6a2014218622b4ee34862a00280e61383c Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Wed, 29 Mar 2023 19:04:45 +0200 Subject: [PATCH] Workaround for Quarkus3/OTel/okio OOM in tests See https://github.com/quarkusio/quarkus/issues/32238 --- gradle/libs.versions.toml | 3 ++- .../quarkus-server/src/main/resources/application.properties | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 60767e86f73..47ae0e02875 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -93,7 +93,8 @@ bouncycastle-bcpkix = { module = "org.bouncycastle:bcpkix-jdk15on", version.ref bouncycastle-bcprov = { module = "org.bouncycastle:bcprov-jdk15on", version.ref = "bouncycastle" } cassandra-driver-bom = { module = "com.datastax.oss:java-driver-bom", version.ref = "cassandraDriver" } cassandra-driver-core = { module = "com.datastax.oss:java-driver-core" } -cassandra-quarkus = { module = "com.datastax.oss.quarkus:cassandra-quarkus-client", version = "1.1.3" } +cassandra-quarkus = { module = "com.datastax.oss.quarkus:cassandra-quarkus-client", version = "1.2.0-alpha1" } +cassandra-quarkus-tests = { module = "com.datastax.oss.quarkus:cassandra-quarkus-test-framework", version = "1.2.0-alpha1" } caffeine = { module = "com.github.ben-manes.caffeine:caffeine", version = "2.9.3" } cel-bom = { module = "org.projectnessie.cel:cel-bom", version = "0.3.13" } cel-jackson = { module = "org.projectnessie.cel:cel-jackson" } diff --git a/servers/quarkus-server/src/main/resources/application.properties b/servers/quarkus-server/src/main/resources/application.properties index 01726507656..634029f33b9 100644 --- a/servers/quarkus-server/src/main/resources/application.properties +++ b/servers/quarkus-server/src/main/resources/application.properties @@ -237,3 +237,7 @@ quarkus.micrometer.binder.http-server.match-patterns=\ # endless 'Retried waiting for GCLocker too often allocating * words' messages instead of a # "proper OutOfMemoryException" happen. %test.quarkus.micrometer.binder.jvm=false + +# See https://github.com/quarkusio/quarkus/issues/32238 +%test.quarkus.otel.exporter.otlp.timeout=0 +%test.quarkus.otel.exporter.otlp.traces.timeout=0