CherryPicked: [cnv-4.20] Remove redundant and duplicated by upstream t2 tests - #5962
Open
cnv-tests-github-webhook-dollierp[bot] wants to merge 1 commit into
Open
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>
Contributor
|
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. |
Contributor
|
@OhadRevah — AI automatically resolved merge conflicts for this cherry-pick. Please review the changes carefully and verify correctness before merging. |
openshift-virtualization-qe-bot-3
requested review from
albarker-rh and
rlobillo
August 11, 2026 09:28
Contributor
|
/verified |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick from
mainbranch, original PR: #5902, PR owner: OhadRevah