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

Unittests for await logic (Delete) #3012

Merged
merged 3 commits into from
May 20, 2024
Merged

Unittests for await logic (Delete) #3012

merged 3 commits into from
May 20, 2024

Conversation

EronWright
Copy link
Contributor

@EronWright EronWright commented May 17, 2024

Proposed changes

This PR implements a unit test for the Deletion function in await.go, which is responsible
for the low-level logic of deleting a Kubernetes object and awaiting finalization. The function has
built-in logic for watching the object until it is finalized, and supports a hand-off to a resource-specific awaiter.

Related issues (optional)

Closes #2800

@EronWright EronWright requested a review from blampe May 17, 2024 03:22
@EronWright EronWright changed the title await deletion test Unittests for await logic (Delete) May 17, 2024
@EronWright EronWright added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label May 17, 2024
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.51%. Comparing base (04fb15c) to head (dfb230a).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3012      +/-   ##
==========================================
+ Coverage   35.97%   36.51%   +0.53%     
==========================================
  Files          70       70              
  Lines        9156     9156              
==========================================
+ Hits         3294     3343      +49     
+ Misses       5530     5484      -46     
+ Partials      332      329       -3     

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

@EronWright EronWright enabled auto-merge (squash) May 17, 2024 15:10
@EronWright EronWright requested review from rquitales May 17, 2024 15:15
@EronWright EronWright merged commit f404883 into master May 20, 2024
18 checks passed
@EronWright EronWright deleted the issue-2800 branch May 20, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unittests for await logic (Delete)
2 participants