Skip to content

Conversation

@OlegSternbergIBM
Copy link
Contributor

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.

Comment on lines +4995 to +4997

information_type_id = response['informationTypeId']
label_id = response['labelId']
Copy link
Contributor

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?

Copy link
Contributor Author

@OlegSternbergIBM OlegSternbergIBM Jan 22, 2021

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.

@yonzhan yonzhan added this to the S182 milestone Jan 22, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Jan 22, 2021

SQL

@bradrich-msft
Copy link
Contributor

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'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now 'highAvailabilityReplicaCount'

@OlegSternbergIBM
Copy link
Contributor Author

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?

Done

JMESPathCheck('zoneRedundant', False),
JMESPathCheck('readScale', 'Disabled'),
JMESPathCheck('readReplicaCount', '0'),
JMESPathCheck('highAvailabilityReplicaCount', None),
Copy link
Contributor

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.

@OlegSternbergIBM
Copy link
Contributor Author

Was created temporary to resolve test failures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants