From c27710e42b894d8ecc98ae1f0805efc768ab1d72 Mon Sep 17 00:00:00 2001 From: Laird Nelson Date: Fri, 3 Mar 2023 14:12:51 -0800 Subject: [PATCH] Re-enables grpc/metrics/src/test/java/.../*.java Signed-off-by: Laird Nelson --- grpc/metrics/pom.xml | 5 +++++ .../io/helidon/grpc/metrics/GrpcMetricsInterceptorIT.java | 4 +--- .../src/test/java/io/helidon/grpc/metrics/MetricsIT.java | 2 -- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/grpc/metrics/pom.xml b/grpc/metrics/pom.xml index f110797545c..dddd14a0c11 100644 --- a/grpc/metrics/pom.xml +++ b/grpc/metrics/pom.xml @@ -51,6 +51,11 @@ provided true + + io.helidon.metrics + helidon-metrics + test + io.helidon.reactive.metrics helidon-reactive-metrics diff --git a/grpc/metrics/src/test/java/io/helidon/grpc/metrics/GrpcMetricsInterceptorIT.java b/grpc/metrics/src/test/java/io/helidon/grpc/metrics/GrpcMetricsInterceptorIT.java index 72165715a19..2fbd2c0a95d 100644 --- a/grpc/metrics/src/test/java/io/helidon/grpc/metrics/GrpcMetricsInterceptorIT.java +++ b/grpc/metrics/src/test/java/io/helidon/grpc/metrics/GrpcMetricsInterceptorIT.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2022 Oracle and/or its affiliates. + * Copyright (c) 2019, 2023 Oracle and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,7 +49,6 @@ import org.eclipse.microprofile.metrics.Timer; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; @@ -72,7 +71,6 @@ * to be initialised which may impact other tests that rely on metrics being * configured a specific way. */ -@Disabled @SuppressWarnings("unchecked") public class GrpcMetricsInterceptorIT { diff --git a/grpc/metrics/src/test/java/io/helidon/grpc/metrics/MetricsIT.java b/grpc/metrics/src/test/java/io/helidon/grpc/metrics/MetricsIT.java index 0d2b51e0445..ac7c1140a91 100644 --- a/grpc/metrics/src/test/java/io/helidon/grpc/metrics/MetricsIT.java +++ b/grpc/metrics/src/test/java/io/helidon/grpc/metrics/MetricsIT.java @@ -39,7 +39,6 @@ import jakarta.json.JsonValue; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import services.EchoService; @@ -50,7 +49,6 @@ /** * Integration tests for gRPC server with metrics. */ -@Disabled public class MetricsIT { // ----- data members ---------------------------------------------------