Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MetricsAdvisor] Added tests for Data Feed CRUD operations (2/4) #17750

Merged
merged 2 commits into from
Jan 5, 2021

Conversation

kinelski
Copy link
Member

@kinelski kinelski commented Jan 4, 2021

Part of #15913.
This PR is part of a huge set of changes that fixes the issue mentioned above. These changes were separated into 4 chunks to reduce the review burden. This PR consists of:

  • Live DataFeed tests for Update methods. Two tests were added for every possible type of data feed (13 types). The tests are pretty much the same, so the validation and setup logic could easily be extracted into separate methods.
  • Live DataFeed test for the Delete method. A single test was added and follows the same pattern as other tests for Delete methods.
  • Removed old tests that were being used as a "placeholder" until robust tests were added.

The added tests only take into consideration updates for data feeds with minimum setup configuration. Data feeds with more members set will be tested in the next PR.

@kinelski kinelski added Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor labels Jan 4, 2021
@kinelski kinelski self-assigned this Jan 4, 2021
@kinelski kinelski merged commit 36f50d5 into Azure:master Jan 5, 2021
@kinelski kinelski deleted the ma-feed2 branch January 5, 2021 19:17
annelo-msft pushed a commit to annelo-msft/azure-sdk-for-net that referenced this pull request Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants