azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

[Monitor] Refactor tests

Open pvaneck opened this issue 3 years ago • 8 comments

This applies to both query and ingestion tests:

  • Better integration with test proxy using fixtures.
  • Updated test-resources.json file to be a bicep file. Aso cleaned out resources that were deployed but never used (i.e. App Config, Event Hubs)
  • Removed dependency on preallocated resources for live tests. Now live tests will only use resources deployed from the test-resource.bicep file.
  • Add playback tests and recordings. Most tests were live only, so now some playback tests will be available.
  • Increased msrest version in setup.py as the mindependency test job was failing because the msrest version used was too old.

Closes: #25213

pvaneck avatar Nov 09 '22 18:11 pvaneck

API change check

API changes are not detected in this pull request.

azure-sdk avatar Nov 09 '22 18:11 azure-sdk

/azp run python - monitor - tests

pvaneck avatar Nov 10 '22 01:11 pvaneck

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 10 '22 01:11 azure-pipelines[bot]

/azp run python - monitor - tests

pvaneck avatar Nov 10 '22 20:11 pvaneck

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 10 '22 20:11 azure-pipelines[bot]

/azp run python - monitor - tests

pvaneck avatar Nov 10 '22 21:11 pvaneck

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 10 '22 21:11 azure-pipelines[bot]

Love the test resource changes!

benbp avatar Nov 10 '22 22:11 benbp

/azp run python - monitor - tests

pvaneck avatar Nov 16 '22 19:11 pvaneck

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 16 '22 19:11 azure-pipelines[bot]