Skip to content
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

List resource before validation to avoid not-found error #3365

Merged
merged 4 commits into from
Sep 12, 2024

Conversation

zetiaatgithub
Copy link
Contributor

@zetiaatgithub zetiaatgithub commented Sep 2, 2024

Description

This is to enhance robust of test case when provisioning Kubernetes compute related reources.
This PR fixes the bug of not-found error. As az cli doesn't have command to check the existence of a resource, we use list command instead.

Checklist

  • I have read the contribution guidelines.
  • I have coordinated with the docs team (mldocs@microsoft.com) if this PR deletes files or changes any file names or file extensions.
  • Pull request includes test coverage for the included changes.
  • This notebook or file is added to the CODEOWNERS file, pointing to the author or the author's team.

@zetiaatgithub zetiaatgithub enabled auto-merge (squash) September 11, 2024 03:53
@zetiaatgithub zetiaatgithub changed the title list resource before checking list resource before validation to avoid not-found error Sep 12, 2024
@zetiaatgithub zetiaatgithub changed the title list resource before validation to avoid not-found error List resource before validation to avoid not-found error Sep 12, 2024
@zetiaatgithub zetiaatgithub merged commit efe9b8c into main Sep 12, 2024
193 of 376 checks passed
@zetiaatgithub zetiaatgithub deleted the zetia/fix-nonexist branch September 12, 2024 03:23
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