USHIFT-6909: Add RF tests for custom DNS config#6944
Conversation
|
@kasturinarra: This pull request references USHIFT-6909 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 story 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. |
|
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 (2)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe DNS custom config suite adds multi-zone Corefile support, helper keywords for applying that config, and tests covering atomic Corefile replacement and multi-zone DNS resolution. ChangesDNS custom Corefile test coverage
🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
37bc3ee to
ec968b5
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kasturinarra 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@test/suites/standard2/dns-custom-config.robot`:
- Around line 78-85: The DNS custom config test only verifies that the new
hostname appears, so it can miss cases where the old Corefile content is
incorrectly preserved. Update the test around Resolve Host From Pod, Build
Custom Corefile, and ConfigMap Should Contain Hostname to also assert
replacement semantics by checking that ${HOSTNAME} is no longer present in the
ConfigMap or no longer resolves after the update, while still confirming
${new_hostname} is present and resolvable.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: bf29bf11-3a5c-4972-a27c-bcab400fae93
📒 Files selected for processing (1)
test/suites/standard2/dns-custom-config.robot
|
/retest |
|
@kasturinarra: 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. |
Summary by CodeRabbit