From ac03be8e77d20834d9c116397e6e550eea89997b Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Mon, 20 Jan 2025 16:25:57 +0100 Subject: [PATCH] Remove legacy @DisabledOnJre(JRE.JAVA_8) --- .../micrometer/runtime/binder/HttpCommonTagsTest.java | 1 - .../runtime/binder/vertx/VertxHttpServerMetricsTest.java | 6 ------ 2 files changed, 7 deletions(-) diff --git a/extensions/micrometer/runtime/src/test/java/io/quarkus/micrometer/runtime/binder/HttpCommonTagsTest.java b/extensions/micrometer/runtime/src/test/java/io/quarkus/micrometer/runtime/binder/HttpCommonTagsTest.java index 3f4518f44f595..b29300d235683 100644 --- a/extensions/micrometer/runtime/src/test/java/io/quarkus/micrometer/runtime/binder/HttpCommonTagsTest.java +++ b/extensions/micrometer/runtime/src/test/java/io/quarkus/micrometer/runtime/binder/HttpCommonTagsTest.java @@ -7,7 +7,6 @@ /** * Test tag creation - * Disabled on Java 8 because of Mocks */ public class HttpCommonTagsTest { diff --git a/extensions/micrometer/runtime/src/test/java/io/quarkus/micrometer/runtime/binder/vertx/VertxHttpServerMetricsTest.java b/extensions/micrometer/runtime/src/test/java/io/quarkus/micrometer/runtime/binder/vertx/VertxHttpServerMetricsTest.java index b76682c3da1b7..ef965b53b5e99 100644 --- a/extensions/micrometer/runtime/src/test/java/io/quarkus/micrometer/runtime/binder/vertx/VertxHttpServerMetricsTest.java +++ b/extensions/micrometer/runtime/src/test/java/io/quarkus/micrometer/runtime/binder/vertx/VertxHttpServerMetricsTest.java @@ -5,17 +5,11 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.DisabledOnJre; -import org.junit.jupiter.api.condition.JRE; import org.mockito.Mockito; import io.vertx.core.http.impl.HttpServerRequestInternal; import io.vertx.ext.web.RoutingContext; -/** - * Disabled on Java 8 because of Mocks - */ -@DisabledOnJre(JRE.JAVA_8) public class VertxHttpServerMetricsTest { RoutingContext routingContext;