unit tests: remove stale UserProvisionedDNS feature gate test#10657
unit tests: remove stale UserProvisionedDNS feature gate test#10657redhat-chai-bot wants to merge 1 commit into
Conversation
The UserProvisionedDNS feature is no longer feature-gated after openshift/api#2775 removed the AWSClusterHostedDNSInstall gate. The validation code in featuregates.go has already been updated to stop checking for UserProvisionedDNS. Remove the now-stale test case "AWS UserProvisionedDNS is not allowed without Feature Gates" and the unused dns import it required. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe feature gate validation test removes an unused DNS import and deletes the AWS UserProvisionedDNS case that expected a forbidden error without the required AWS feature gates. ChangesFeature gate test cleanup
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@redhat-chai-bot: The following tests failed, say
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. |
|
/close . |
The
AWSClusterHostedDNSInstallfeature gate was removed in openshift/api#2775, souserProvisionedDNSis no longer feature-gated.This removes the now-stale test case "AWS UserProvisionedDNS is not allowed without Feature Gates" from
featuregate_test.go, along with the unuseddnsimport that was only referenced by that test case.The corresponding validation logic in
featuregates.gohas already been updated and no longer checks for this feature gate.Summary by CodeRabbit