-
Notifications
You must be signed in to change notification settings - Fork 4k
Update permissive record matcher to allow ignoring api versions at resource type level. #9705
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
Update permissive record matcher to allow ignoring api versions at resource type level. #9705
Conversation
…baseGeoBackup.json, ignore api versions for Microsoft.Sql, and bump Microsoft.Azure.Management.Sql version to 1.33.0-preview
Can one of the admins verify this patch? |
@@ -33,6 +33,7 @@ protected override void SetupManagementClients(RestTestFramework.MockContext con | |||
|
|||
public ManagedInstanceCrudScenarioTests(ITestOutputHelper output) : base(output) | |||
{ | |||
base.resourceTypesToIgnoreApiVersion = new string[] { "Microsoft.Sql/managedInstances" }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will have new recordings as it's a top level resource test - this is stubbed here to test build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/329, I've added some new recordings that verifying server level communication with 2018-06-01-preview against managedInstances works after api version bump.
Friendly ping @markcowl on updated review. |
Friendly ping @markcowl |
tools/ScenarioTest.ResourceManager/PermissiveRecordMatcherWithApiExclusion.cs
Show resolved
Hide resolved
tools/ScenarioTest.ResourceManager/PermissiveRecordMatcherWithApiExclusion.cs
Show resolved
Hide resolved
tools/ScenarioTest.ResourceManager/PermissiveRecordMatcherWithApiExclusion.cs
Show resolved
Hide resolved
Closing this PR and continuing updates in #9744 |
Description
Checklist
CONTRIBUTING.md
platyPS
module