Skip to content

Commit

Permalink
Disable known issue failing tests for Metrics advisor (#20027)
Browse files Browse the repository at this point in the history
  • Loading branch information
samvaity authored Mar 23, 2021
1 parent cade78f commit d27f558
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<List<String>> expectedDataFeedIdList = new AtomicReference<List<String>>();
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit d27f558

Please sign in to comment.