diff --git a/integration-tests/prometheus-java-client-expected-changes.patch b/integration-tests/prometheus-java-client-expected-changes.patch index 23dc863a117..b944b2d083a 100644 --- a/integration-tests/prometheus-java-client-expected-changes.patch +++ b/integration-tests/prometheus-java-client-expected-changes.patch @@ -4511,7 +4511,7 @@ testCase.systemProperties.keySet().forEach(System::clearProperty); --- a/prometheus-metrics-exporter-opentelemetry/src/test/java/io/prometheus/metrics/exporter/opentelemetry/PrometheusInstrumentationScopeTest.java +++ b/prometheus-metrics-exporter-opentelemetry/src/test/java/io/prometheus/metrics/exporter/opentelemetry/PrometheusInstrumentationScopeTest.java -@@ -1,40 +1,40 @@ +@@ -1,38 +1,38 @@ package io.prometheus.metrics.exporter.opentelemetry; -import static org.assertj.core.api.Assertions.assertThatExceptionOfType; @@ -4523,8 +4523,6 @@ -class PrometheusInstrumentationScopeTest { +final class PrometheusInstrumentationScopeTest { - // XXX: Introduce support for rewriting `assertThatThrownBy#havingRootCause()`. - @SuppressWarnings("AssertThatThrownBy") @Test void loadInstrumentationScopeInfo() { - assertThatExceptionOfType(IllegalStateException.class) diff --git a/integration-tests/prometheus-java-client-init.patch b/integration-tests/prometheus-java-client-init.patch index a4d6d18ee0f..bed23edd914 100644 --- a/integration-tests/prometheus-java-client-init.patch +++ b/integration-tests/prometheus-java-client-init.patch @@ -1,14 +1,5 @@ --- a/pom.xml +++ b/pom.xml -@@ -19,7 +19,7 @@ - --module-name-need-to-be-overriden-- - 5.11.3 - 2.10.0-alpha -- 8 -+ 11 - 0.70 - false - false @@ -128,7 +128,6 @@ com.google.guava @@ -17,15 +8,7 @@ org.slf4j -@@ -360,7 +359,6 @@ - true - - -Xlint:all,-serial,-processing,-options -- ${warnings} - --should-stop=ifError=FLOW - -XDcompilePolicy=simple - -@@ -370,13 +368,24 @@ +@@ -370,13 +369,24 @@ -Xep:LongDoubleConversion:OFF -Xep:StringSplitter:OFF -XepExcludedPaths:.*/generated/.* @@ -51,17 +34,6 @@