Skip to content

Conversation

@fengzhou-msft
Copy link
Member

@fengzhou-msft fengzhou-msft commented Sep 22, 2020

Description

  1. Add sleep between az acr identity assign and az acr identity remove as operations on identity are async.
  2. backup vault are now soft-delete enabled by default and can not be deleted when there are soft-deleted items in it. Adding an option in the VaultPreparer to disable soft delete and allow the vault delete to fail in soft-delete-enabled cases.
  3. netappfiles has a quota of 10 accounts per subscription, make some tests run in serial to reduce the number of accounts created in parallel.
  4. use ResourceGroupPreparer in batch test and fix outdated key vault related test.

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 Sep 23, 2020

Test

@fengzhou-msft fengzhou-msft changed the title {Test} Fix some live tests for acr, appservice, backup, netappfiles {Test} Fix some live tests for acr, appservice, backup, netappfiles, batch Sep 24, 2020
Comment on lines -55 to 53

# Since this test requires core quota, we must statically create an account with quota
@ResourceGroupPreparer()
@BatchAccountPreparer()
def test_batch_pool_cmd(
Copy link
Member Author

Choose a reason for hiding this comment

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

Change to use resource preparers and you can use environment variables AZURE_CLI_TEST_DEV_RESOURCE_GROUP_NAME and AZURE_CLI_TEST_DEV_BATCH_ACCT_NAME for existing resources in live tests when necessary.

@fengzhou-msft
Copy link
Member Author

@bgklein can you help review the changes for batch tests? This is to fix the failures in our weekly live tests validation. The result from last week for batch is here: https://clitestresultstac.blob.core.windows.net/20200918224751live/batch.report.parallel.html

Copy link
Contributor

@Juliehzl Juliehzl left a comment

Choose a reason for hiding this comment

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

Approve for my code owner part

@yungezz
Copy link
Member

yungezz commented Sep 25, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@yungezz yungezz merged commit 0d44874 into Azure:dev Sep 25, 2020
Juliehzl pushed a commit to Juliehzl/azure-cli that referenced this pull request Sep 30, 2020
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