From eba7d3a5c4cbc3d5293821c5743bfdaf70b2b8d9 Mon Sep 17 00:00:00 2001 From: samvaity Date: Mon, 22 Mar 2021 12:37:09 -0700 Subject: [PATCH] disable tests --- .../java/com/azure/ai/metricsadvisor/DataFeedClientTest.java | 2 ++ .../java/com/azure/ai/metricsadvisor/FeedbackAsyncTest.java | 3 +++ .../test/java/com/azure/ai/metricsadvisor/FeedbackTest.java | 3 +++ .../com/azure/ai/metricsadvisor/NotificationHookAsyncTest.java | 3 ++- .../java/com/azure/ai/metricsadvisor/NotificationHookTest.java | 3 ++- 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedClientTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedClientTest.java index 8c3c52f7906a0..def8253a12bcd 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedClientTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedClientTest.java @@ -25,6 +25,7 @@ import io.netty.handler.codec.http.HttpResponseStatus; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import reactor.test.StepVerifier; @@ -82,6 +83,7 @@ static void afterAll() { */ @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.metricsadvisor.TestUtils#getTestParameters") + @Disabled void testListDataFeed(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion) { final AtomicReference> expectedDataFeedIdList = new AtomicReference>(); try { diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/FeedbackAsyncTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/FeedbackAsyncTest.java index 235d23371359e..70a0751b6ce78 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/FeedbackAsyncTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/FeedbackAsyncTest.java @@ -15,6 +15,7 @@ import io.netty.handler.codec.http.HttpResponseStatus; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import reactor.test.StepVerifier; @@ -102,6 +103,7 @@ void testListMetricFeedback(HttpClient httpClient, MetricsAdvisorServiceVersion */ @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.metricsadvisor.TestUtils#getTestParameters") + @Disabled void testListMetricFeedbackTop3(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion) { // Arrange client = getMetricsAdvisorBuilder(httpClient, serviceVersion).buildAsyncClient(); @@ -143,6 +145,7 @@ void testListMetricFeedbackTop3(HttpClient httpClient, MetricsAdvisorServiceVers */ @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.metricsadvisor.TestUtils#getTestParameters") + @Disabled void testListMetricFeedbackFilterByDimensionFilter(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion) { // Arrange client = getMetricsAdvisorBuilder(httpClient, serviceVersion).buildAsyncClient(); diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/FeedbackTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/FeedbackTest.java index f86d07f5778de..1812c9196ca7f 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/FeedbackTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/FeedbackTest.java @@ -17,6 +17,7 @@ import io.netty.handler.codec.http.HttpResponseStatus; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import reactor.test.StepVerifier; @@ -99,6 +100,7 @@ void testListMetricFeedback(HttpClient httpClient, MetricsAdvisorServiceVersion */ @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.metricsadvisor.TestUtils#getTestParameters") + @Disabled void testListMetricFeedbackTop3(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion) { // Arrange client = getMetricsAdvisorBuilder(httpClient, serviceVersion).buildClient(); @@ -138,6 +140,7 @@ void testListMetricFeedbackTop3(HttpClient httpClient, MetricsAdvisorServiceVers */ @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.metricsadvisor.TestUtils#getTestParameters") + @Disabled void testListMetricFeedbackFilterByDimensionFilter(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion) { // Arrange diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/NotificationHookAsyncTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/NotificationHookAsyncTest.java index ee37626059f81..b2b4cf48c8be5 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/NotificationHookAsyncTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/NotificationHookAsyncTest.java @@ -13,6 +13,7 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import reactor.core.publisher.Mono; @@ -86,7 +87,7 @@ void createWebHook(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVe // Track this with https://github.com/Azure/azure-sdk-for-java/issues/16932 @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.metricsadvisor.TestUtils#getTestParameters") - @Override + @Disabled void testListHook(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion) { MetricsAdvisorAdministrationAsyncClient client = getMetricsAdvisorAdministrationBuilder(httpClient, serviceVersion).buildAsyncClient(); diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/NotificationHookTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/NotificationHookTest.java index c229a857f45d7..b39092082c3aa 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/NotificationHookTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/NotificationHookTest.java @@ -13,6 +13,7 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import reactor.test.StepVerifier; @@ -64,7 +65,7 @@ void createWebHook(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVe // Track this with https://github.com/Azure/azure-sdk-for-java/issues/16932 @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.metricsadvisor.TestUtils#getTestParameters") - @Override + @Disabled void testListHook(HttpClient httpClient, MetricsAdvisorServiceVersion serviceVersion) { MetricsAdvisorAdministrationClient client = getMetricsAdvisorAdministrationBuilder(httpClient, serviceVersion).buildClient();