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

Unit tests for contour k8sd feature #705

Merged
merged 4 commits into from
Oct 2, 2024
Merged

Conversation

maci3jka
Copy link
Contributor

The unit tests for the contour feature are lacking this pr proves test coverage from 0% files, 0% statements to 100% files, 84.3% statements for github.com/canonical/k8s/pkg/k8sd/features/contour package.

@maci3jka
Copy link
Contributor Author

adresses also KU-1516

Copy link
Contributor

@HomayoonAlimohammadi HomayoonAlimohammadi left a comment

Choose a reason for hiding this comment

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

Thanks a lot @maci3jka! LGTM, great stuff!

Copy link
Member

@berkayoz berkayoz left a comment

Choose a reason for hiding this comment

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

Great work! Left some comments

src/k8s/pkg/k8sd/features/contour/gateway_test.go Outdated Show resolved Hide resolved
src/k8s/pkg/k8sd/features/contour/gateway_test.go Outdated Show resolved Hide resolved
@maci3jka maci3jka merged commit ed25214 into main Oct 2, 2024
20 checks passed
@maci3jka maci3jka deleted the KU-1517/contour-unittests branch October 2, 2024 13:09
evilnick pushed a commit to evilnick/k8s-snap that referenced this pull request Nov 14, 2024
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.

3 participants