CNTRLPLANE-3564: test(awsprivatelink): add unit test for NoSuchHostedZone handling dur… - #8794
CNTRLPLANE-3564: test(awsprivatelink): add unit test for NoSuchHostedZone handling dur…#8794mgencur wants to merge 1 commit into
Conversation
…ing deletion Cover the code path where FindRecord() returns a NoSuchHostedZone error because the Route53 hosted zone was already deleted externally. The controller correctly treats this as successful deletion and removes the finalizer. Signed-off-by: Martin Gencur <mgencur@redhat.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@mgencur: This pull request references CNTRLPLANE-3564 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
📝 WalkthroughWalkthroughA new table-driven test case, "Route53 hosted zone already deleted externally," is added to 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8794 +/- ##
==========================================
+ Coverage 42.09% 46.85% +4.75%
==========================================
Files 766 784 +18
Lines 95047 108292 +13245
==========================================
+ Hits 40012 50741 +10729
- Misses 52221 54419 +2198
- Partials 2814 3132 +318 see 140 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
sdminonne
left a comment
There was a problem hiding this comment.
I don't have a lot of things to say except. Thank you!
|
Pipeline controller notification No second-stage tests were triggered for this PR. This can happen when:
Use |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jparrill, mgencur, sdminonne The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified by unit tests This PR only adds unit tests. |
|
@mgencur: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/test all |
1 similar comment
|
/test all |
|
/pipeline required |
|
Scheduling tests matching the |
|
/pipeline required |
|
Scheduling tests matching the |
|
/lgtm |
|
@mgencur: This pull request references CNTRLPLANE-3564 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retest required |
|
/retest-required |
|
/pipeline required |
|
Scheduling tests matching the |
|
/retest |
|
@mgencur: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Created #9141 with the same stuff. It seems the items such as the following don't appear there:
|
|
Closing in favor of #9141 |
…ing deletion
What this PR does / why we need it:
Cover the code path where FindRecord() returns a NoSuchHostedZone error because the Route53 hosted zone was already deleted externally. The controller correctly treats this as successful deletion and removes the finalizer.
Which issue(s) this PR fixes:
Fixes https://redhat.atlassian.net/browse/CNTRLPLANE-3564
Special notes for your reviewer:
Checklist:
Summary by CodeRabbit