Skip to content

Conversation

@Juliehzl
Copy link
Contributor

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 feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 21, 2021

SQL

@yonzhan yonzhan requested review from jsntcy and zhoxing-ms January 21, 2021 11:31
@yonzhan yonzhan added this to the S182 milestone Jan 21, 2021
@Juliehzl
Copy link
Contributor Author

Juliehzl commented Jan 21, 2021

  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlServerMgmtScenarioTest::test_sql_server_public_network_access_update_mgmt @emgu-ms
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlServerDbMgmtScenarioTest::test_sql_db_mgmt @xaliciayang
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlServerDbMgmtScenarioTest::test_sql_db_read_replica_mgmt @bradrich-msft
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlServerDbLongTermRetentionScenarioTest::test_sql_db_long_term_retention @xaliciayang
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedInstanceOperationMgmtScenarioTest::test_sql_mi_operation_mgmt @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlServerDbRestoreDeletedScenarioTest::test_sql_db_restore_deleted
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlServerDwMgmtScenarioTest::test_sql_dw_mgmt @jaredmoo
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlServerImportExportMgmtScenarioTest::test_sql_db_import_export_mgmt @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedInstanceMgmtScenarioTest::test_sql_managed_instance_mgmt @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedInstanceMgmtScenarioIdentityTest::test_sql_managed_instance_create_identity_mgmt @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedInstancePoolScenarioTest::test_sql_instance_pool @rohands
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedInstanceDbShortTermRetentionScenarioTest::test_sql_managed_db_short_retention @xaliciayang
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedInstanceDbLongTermRetentionScenarioTest::test_sql_managed_db_long_term_retention @xaliciayang
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedInstanceRestoreDeletedDbScenarioTest::test_sql_managed_deleted_db_restore @djnisic @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedInstanceDbMgmtScenarioTest::test_sql_managed_db_mgmt @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlFailoverGroupMgmtScenarioTest::test_sql_failover_group_mgmt @maboja-msft @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlVirtualClusterMgmtScenarioTest::test_sql_virtual_cluster_mgmt @milostod @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlInstanceFailoverGroupMgmtScenarioTest::test_sql_instance_failover_group_mgmt @ziwa-msft @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlDbSensitivityClassificationsScenarioTest::test_sql_db_sensitivity_classifications @ranisha2
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedInstanceFailoverScenarionTest::test_sql_mi_failover_mgmt @MilanBrkicFON @petrajkogit
  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlManagedDatabaseLogReplayScenarionTest::test_sql_midb_logreplay_mgmt @MilanBrkicFON

@Juliehzl
Copy link
Contributor Author

Please comment in the PR with the following words and your PR link. For example,

Fix test_sql_server_public_network_access_create_mgmt: PR link

@emgu-ms
Copy link
Contributor

emgu-ms commented Jan 22, 2021

Fix test_sql_server_public_network_access_create_mgmt: #16629

@Juliehzl
Copy link
Contributor Author

Fix test_sql_server_public_network_access_create_mgmt: #16629

Pass

@OlegSternbergIBM
Copy link
Contributor

Fixed recorded tests:
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

PR link: #16631

@OlegSternbergIBM
Copy link
Contributor

OlegSternbergIBM commented Jan 22, 2021

Fixed additional tests:
test_sql_db_mgmt.yaml
test_sql_db_read_replica_mgmt.yaml
test_sql_dw_mgmt.yaml

Was forced to change test_sql_commands.py - 'readReplicaCount' and 'readScale' fields had incorrect value.
Probably 'readReplicaCount' field is no longer in use.

PR link: #16631

@petrajko
Copy link
Contributor

  • src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py::SqlServerImportExportMgmtScenarioTest::test_sql_db_import_export_mgmt

@nathannfan is probably owning this one

@OlegSternbergIBM
Copy link
Contributor

Fixed tests to use 'highAvailabilityReplicaCount' field per @bradrich-msft request

@OlegSternbergIBM
Copy link
Contributor

Fixed additional recording YAML files
PR link: #16631

@OlegSternbergIBM
Copy link
Contributor

Fixed test_sql_db_import_export_mgmt
PR link: #16631

@OlegSternbergIBM
Copy link
Contributor

@Juliehzl please ensure you merge commit:
2d8a050

@OlegSternbergIBM
Copy link
Contributor

Fixed test_sql_db_restore.yaml
PR link: #16631

Comment on lines +350 to 351
arg_ctx.argument('high_availability_replica_count',
arg_type=read_replicas_param_type)
Copy link
Member

Choose a reason for hiding this comment

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

Should Line537 be renamed too?

arg_ctx.argument('read_replica_count',
options_list=['--read-replica-count'],
deprecate_info=arg_ctx.deprecate(hide=True))

Copy link
Member

@evelyn-ys evelyn-ys left a comment

Choose a reason for hiding this comment

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

Leave #16618 (comment) for later check (another PR to fix if necessary).
Approved to unblock test fixes🙂

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.

8 participants