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: fix owner reference test in releasePlan adapter #657

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

johnbieren
Copy link
Collaborator

envtest doesn't delete owned resources, so the test checking that the releasePlan was removed when the application was deleted in the releasePlan adapter was misleading. It only was passing because it was missing the namespace. This commit removes the misleading test and improves the one checking the ownerReference.

envtest doesn't delete owned resources, so the test checking that the
releasePlan was removed when the application was deleted in the
releasePlan adapter was misleading. It only was passing because it was
missing the namespace. This commit removes the misleading test and
improves the one checking the ownerReference.

Signed-off-by: Johnny Bieren <[email protected]>
@johnbieren johnbieren requested a review from a team as a code owner January 24, 2025 14:13
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.12%. Comparing base (40d3987) to head (8e6c6ce).
Report is 20 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #657      +/-   ##
==========================================
- Coverage   79.21%   79.12%   -0.09%     
==========================================
  Files          28       28              
  Lines        2247     2247              
==========================================
- Hits         1780     1778       -2     
- Misses        384      385       +1     
- Partials       83       84       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants