-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[metricsadvisor] convert to test proxy (#21974)
* update sync base testcases and conftest to use test proxy * remove dep on unittest * add sanitizers for test secrets * convert one test * fix weird spacing * refactor base testcase into preparer * convert test_alert_config.py + recordings * recordings * updates for aad tests * test_credential and test_credential_entities, no recordings b/c need to fix sanitizer * add rstrip / to client endpoint * convert data_feed_ingestion * convert data_feeds * convert detection_config * convert hooks * update ma client tests * refactor to simplify base test class and secrets needed * refactor, parametrize auth option * refactor / parametrize async + add preparer * convert async tests to proxy * add oauth sanitizer * add test proxy to ci.yaml * update testcases and have proxy auto start * rename test_id -> ids, fix clean up so we raise better errors, add more randomization in names * rerecord and delete old recordings * rename tests to fix max path length and try removing max parallel for live tests * ugh fix for py2.7 * fix envars for live tests * fixes for live tests * adjust list data feeds tests to be less flaky * add rstrip before sanitizing
- Loading branch information
1 parent
d98fa5b
commit a24c4b6
Showing
766 changed files
with
98,025 additions
and
68,020 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
454 changes: 0 additions & 454 deletions
454
sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_aad_async.py
This file was deleted.
Oops, something went wrong.
624 changes: 272 additions & 352 deletions
624
sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_async.py
Large diffs are not rendered by default.
Oops, something went wrong.
282 changes: 0 additions & 282 deletions
282
...ordings/test_alert_config_aad_async.test_create_alert_config_multiple_configurations.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.