-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[SQL] Fix recorded SQL tests for SDK version 0.26.0 #16631
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
[SQL] Fix recorded SQL tests for SDK version 0.26.0 #16631
Conversation
Merge from main repository
Merge from main repository
Merge from master repository
|
|
||
| information_type_id = response['informationTypeId'] | ||
| label_id = response['labelId'] |
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.
why not check them anymore?
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.
They do checked at lines: 5005 and 5006.
They just can't hold pre-generated values anymore since engine always generates them.
|
SQL |
|
Thank you for fixing test_sql_db_read_replica_mgmt. readReplicaCount has been replaced by highAvailabilityReplicaCount. If you don't mind, can you update that? |
| JMESPathCheck('status', 'Online'), | ||
| JMESPathCheck('zoneRedundant', False), | ||
| JMESPathCheck('readScale', 'Disabled'), | ||
| JMESPathCheck('readReplicaCount', '0'), |
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 now 'highAvailabilityReplicaCount'
Done |
| JMESPathCheck('zoneRedundant', False), | ||
| JMESPathCheck('readScale', 'Disabled'), | ||
| JMESPathCheck('readReplicaCount', '0'), | ||
| JMESPathCheck('highAvailabilityReplicaCount', None), |
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.
Please keep previous check value.
|
Was created temporary to resolve test failures |
Description
An engine change caused the below tests to break. This PR aims to fix that.
The fix adjusts recorded YAML files to unblock developers.
test_sql_db_import_export_mgmt.yaml
test_sql_failover_group_mgmt.yaml
test_sql_instance_pool.yaml
test_sql_managed_db_mgmt.yaml
test_sql_managed_db_short_retention.yaml
test_sql_managed_deleted_db_restore.yaml
test_sql_managed_instance_create_identity_mgmt.yaml
test_sql_managed_instance_mgmt.yaml
test_sql_mi_failover_mgmt.yaml
test_sql_midb_logreplay_mgmt.yaml
test_sql_virtual_cluster_mgmt.yaml
test_sql_db_sensitivity_classifications.yaml
There is also a fix in SqlDbSensitivityClassificationsScenarioTest class
This 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.