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

test: adding test coverage for image resolution codepath #89

Merged
merged 13 commits into from
Jan 20, 2024

Conversation

Bryce-Soghigian
Copy link
Collaborator

Fixes #

Description
In the azure linux pr we just merged in, we did not add coverage for the imageprovider.GET(). This pr adds that missing coverage
How was this change tested?
Its just tests :^)

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note


@Bryce-Soghigian
Copy link
Collaborator Author

Looking at coveralls we should also test the user data https://coveralls.io/builds/65030806/source?filename=pkg%2Fproviders%2Fimagefamily%2Fazlinux.go

@tallaxes tallaxes added area/vm-images Issues or PRs related to VM images or image galleries area/testing Issues or PRs related to testing labels Jan 12, 2024
@tallaxes
Copy link
Collaborator

Looking at coveralls we should also test the user data https://coveralls.io/builds/65030806/source?filename=pkg%2Fproviders%2Fimagefamily%2Fazlinux.go

This would be naturally taken care of by shifting to Acceptance-style unit tests, I think

Copy link
Collaborator

@tallaxes tallaxes left a comment

Choose a reason for hiding this comment

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

Really like the shift to acceptance test style! Left some comments on details.

@Bryce-Soghigian Bryce-Soghigian merged commit 7f19cd1 into main Jan 20, 2024
8 checks passed
@Bryce-Soghigian Bryce-Soghigian deleted the bsoghigian/az-linux-more-coverage branch January 20, 2024 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Issues or PRs related to testing area/vm-images Issues or PRs related to VM images or image galleries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants