[4.18][Storage] Storage Tier2: use DataSource instead of artifactory in test_wffc.py 4.18#4534
Conversation
…t_wffc.py (RedHatQE#4368) Use DataSource instead of artifactory in test_wffc.py https://redhat.atlassian.net/browse/CNV-83360 Currently, most storage tests use import from HTTP as the default method to deploy DataVolumes/VMs. Switching to golden images (except for tests that explicitly validate the import workflow) will improve test stability and reduce flakiness. Acceptance criteria: Update storage tests to use golden image as the default deployment method. Keep HTTP import only for tests explicitly covering import functionality. In `test_wffc.py` the tests are using HTTP to create DVs which can make them fail when the requrest for the image is unsuccessful. Don't hold out on critisism, I'm new and I want to get better. <!-- 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** * Switched storage tests to use RHEL images and updated VM memory to match RHEL. * Replaced external-image/template workflow with a blank-source DataVolume flow and added reusable blank DV and DV-template fixtures. * Consolidated storage-class selection into a single module-scoped fixture and improved virtctl/upload wiring. * Simplified runtime waiting and VMI status handling. * Removed two obsolete registry/clone tests and updated affected test parametrization. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Adam Cinko <acinko@redhat.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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 |
|
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
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
Signed-off-by: Adam Cinko <acinko@redhat.com>
Signed-off-by: Adam Cinko <acinko@redhat.com>
…reach Signed-off-by: Adam Cinko <acinko@redhat.com>
|
Clean rebase detected — no code changes compared to previous head ( |
|
/lgtm |
|
/build-and-push-container |
…t_wffc.py (#4368)
Use DataSource instead of artifactory in test_wffc.py
https://redhat.atlassian.net/browse/CNV-83360
Currently, most storage tests use import from HTTP as the default method to deploy DataVolumes/VMs.
Switching to golden images (except for tests that explicitly validate the import workflow) will improve test stability and reduce flakiness.
Acceptance criteria:
Update storage tests to use golden image as the default deployment method.
Keep HTTP import only for tests explicitly covering import functionality.
In
test_wffc.pythe tests are using HTTP to create DVs which can make them fail when the requrest for the image is unsuccessful.Don't hold out on critisism, I'm new and I want to get better.