-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[SQL] az sql midb log-replay start: Add --storage-identity parameter
#24105
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
Conversation
|
SQL |
az sql midb log-replay start: Add --storage-identity parameter
|
/azp run |
|
Commenter does not have sufficient privileges for PR 24105 in repo Azure/azure-cli |
|
@evelyn-ys can you help with review? Thanks |
| @ResourceGroupPreparer(name_prefix='clitest-HSEP', location='eastus2') | ||
| @SqlServerPreparer(name_prefix='clitest-HSEP', location='eastus2') | ||
| @AllowLargeResponse() | ||
| @live_only() # Could not find tier Hyperscale. Supported tiers are: ['Standard', 'Premium', 'Basic', 'GeneralPurpose', 'BusinessCritical'] |
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.
Is this a breaking change that Hyperscale not supported any more in azure-mgmt-sql==4.0.0b4?
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.
I spoke with engineer who implemented this, and she said that Hyperscale type is still not publicly available. She confirmed that I can skip the test
| @ResourceGroupPreparer(location='eastus') | ||
| @SqlServerPreparer(location='eastus') | ||
| @KeyVaultPreparer(location='eastus', name_prefix='sqltdebyok') | ||
| @live_only() # User tried to log in to a device from a platform (Unknown) that's currently not supported through Conditional Access policy. Supported device platforms are: iOS, Android, Mac, and Windows flavors. |
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.
Did you run this test locally or in some agent? The error msg is rarely seen. I hope this test can be kept as it can pass all previous bumping versions.
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.
I am running all tests from Powershell 7.
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.
@evelyn-ys any idea for this issue?
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.
Test is failing on keyvault command, so I do not think my changes could break command in different module.
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.
Which keyvault command did it fail in? I have never met User tried to log in to a device from a platform (Unknown) that's currently not supported error before... Why would this test using conditional access policy😂
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 PR is ready for merge. Do you want me to merge it directly or figure out the root cause of keyvault failure then merge after fix?
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.
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 is in KeyVaultPreparer if I am reading it correctly
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 PR is ready for merge. Do you want me to merge it directly or figure out the root cause of keyvault failure then merge after fix?
How do you prefer? I am fine with both, just to make it in the next release
src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py
Outdated
Show resolved
Hide resolved
evelyn-ys
left a comment
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.
The code LGTM but I just want that those tests marked as live_only can be fixed in case there's any unexpected breaking change during bumping 4.0.0b4
|
Sorry I have to move this PR to next release milestone |
|
@evelyn-ys pls review again |
|
@evelyn-ys can you please merge this PR? |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
@wangzelin007 Can you help merge this PR? |
…ter (Azure#24105) * bump version * add new parameter * record failing tests * more tests rec * more fixing * put corrrect mask * one more * zone tests recorded on eastus Co-authored-by: Milan Brkic <[email protected]>

Related command
Description
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.