Skip to content

{servicefabric} Fix live tests regression#19199

Merged
jsntcy merged 3 commits intoAzure:devfrom
jsntcy:fix-kv-delete-issue
Aug 12, 2021
Merged

{servicefabric} Fix live tests regression#19199
jsntcy merged 3 commits intoAzure:devfrom
jsntcy:fix-kv-delete-issue

Conversation

@jsntcy
Copy link
Copy Markdown
Member

@jsntcy jsntcy commented Aug 12, 2021

Description
When running live tests, it shows error "resource group is None", that's because we didn't pass resource_group as the parameter for test method.

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.

@jsntcy jsntcy requested a review from evelyn-ys August 12, 2021 03:03
@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Aug 12, 2021

servicefabric

@ResourceGroupPreparer()
@KeyVaultPreparer(name_prefix='sfrp-cli-kv-', additional_params='--enabled-for-deployment --enabled-for-template-deployment')
def test_application(self, key_vault):
def test_application_related(self, key_vault, resource_group):
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It seems there is potential issue in "azdev" that even if I add --discover "azdev" still cannot discover the test test_application.
It's a workaround to fix the issue by renaming the test.

@yonzhan yonzhan added this to the Aug 2021 (2021-09-07) milestone Aug 12, 2021
@jsntcy jsntcy requested review from jiasli and kairu-ms as code owners August 12, 2021 03:32
@jsntcy
Copy link
Copy Markdown
Member Author

jsntcy commented Aug 12, 2021

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@jsntcy jsntcy merged commit ef01e87 into Azure:dev Aug 12, 2021
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.

5 participants