CherryPicked: [cnv-4.20] Remove redundant and duplicated by upstream t2 tests - #5931
Conversation
Remove tests that validate the same behavior already covered by upstream HCO func-tests (t1), per T2 package evaluation. strict_reconciliation/test_hco_cr_defaults_on_stanza_deletion.py: Remove test_certconfig_defaults_on_stanza_delete (CNV-6377-6393) and test_livemigrationconfig_defaults_on_stanza_delete (CNV-6403-6417). Duplicated by defaults_test.go certConfig (L32-65) and liveMigrationConfig (L102-133): https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/tests/func-tests/defaults_test.go#L32-L133 Keep test_featuregates_defaults_on_stanza_delete (CNV-6397, CNV-6399). strict_reconciliation/test_operator_defaults.py: Remove entire file — static reads of default values against hardcoded constants, covered by defaults_test.go. launcher_updates/test_default_launcher_updates.py: Remove static default value reads (CNV-6911, CNV-6912), covered by defaults_test.go workloadUpdateStrategy (L194-228): https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/tests/func-tests/defaults_test.go#L194-L228 product_uninstall/test_remove_kubevirt.py: Remove test_validate_default_uninstall_strategy (CNV-3738), covered by defaults_test.go uninstallStrategy (L216-245): https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/tests/func-tests/defaults_test.go#L216-L245 Remove dead expected_certconfig_stanza and unused imports from strict_reconciliation/utils.py. assisted by: claude code claude-opus-4-6 <!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged If the task is not tracked by a Jira ticket, just write "NONE". --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> - **Tests** - Removed outdated validation coverage for default workload update and uninstall strategies. - Removed strict-reconciliation tests covering operator defaults, certificate settings, feature gates, and live-migration configuration. - Removed unused test fixtures and helper utilities related to deleted scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Ohad Revah <orevah@redhat.com>
|
@OhadRevah — AI automatically resolved merge conflicts for this cherry-pick. Please review the changes carefully and verify correctness before merging. |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
📌 Additional InformationCustom Commands:
For more information, please refer to the project documentation or contact the maintainers. |
|
@coderabbitai review |
|
|
Warning Review limit reached
Next review available in: 58 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
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 |
|
/verified |
|
/approve |
|
/retest all Auto-triggered: Files in this PR were modified by merged PR #5895. Overlapping filestests/install_upgrade_operators/relationship_labels/test_all_cnv_resources.py |
Cherry-pick from
mainbranch, original PR: #5902, PR owner: OhadRevah