Closed Yao725 closed 2 weeks ago
If the package reference works the project reference should work as well otherwise there is likely a breaking change which is exactly why we do this check in CI.
If the package reference works the project reference should work as well otherwise there is likely a breaking change which is exactly why we do this check in CI.
The scenario here is: sdk A need upgrade to new version and have a PR for review, the test of sdk B depends on sdk A, then the ci net - resourcemanage - mgmt - ci
will failed when running project reference tests for sdk B because the REST API version in recorded test data is still old but expect new version.
Is this only about a test recording mis-match? Seems so based on what I see at https://dev.azure.com/azure-sdk/public/_build/results?buildId=1929795&view=ms.vss-test-web.build-test-results-tab&runId=36123710&resultId=103310&paneView=debug. Is there any reason we need the api-version in the name of the recorded test?
Will fix the tests that will not record the setup steps
Hi @Yao725, we deeply appreciate your input into this project. Regrettably, this issue has remained unresolved for over 2 years and inactive for 30 days, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.
In the tests of Azure.ResourceManager.EventHubs, we have a package reference to Azure.ResourceManager.ManagedServiceIdentitie. But our pipeline will take turns using project reference and package reference for tests and EventHubs just happens to belong to the group that used project reference.
Currently we have a PR https://github.com/Azure/azure-sdk-for-net/pull/31887 to upgrade the API version for ManagedServiceIdentitie and it will cause the failure of EventHubs tests because of the API version mismatch in the test recording. Considering that we have a GAed Azure.ResourceManager.ManagedServiceIdentitie, we should probably respect the package reference in test project because instead of using project reference to override the settings.