-
Notifications
You must be signed in to change notification settings - Fork 53
CherryPick: [4.19] [INFRA] refactor: data import cron test fixtures and utilities (#3050) #3550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: cnv-4.19
Are you sure you want to change the base?
CherryPick: [4.19] [INFRA] refactor: data import cron test fixtures and utilities (#3050) #3550
Conversation
|
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 You can disable this status message by setting the ✨ 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 |
|
/wip |
|
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
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
/build-and-push-container |
b89de13 to
419c4dc
Compare
|
/wip |
- Move shared pytest fixtures from test file to conftest.py - Move code to utils.py (wait_for_existing_auto_update_data_import_crons, wait_for_created_volume_from_data_import_cron, create_vm_with_infer_from_volume) - Replacing hardcoded numbers with constants (TIMEOUT_5SEC) - Reorganize test class order for better logical grouping - Update test assertions and error messages for clarity code cleanup, refactoring and having classes for all major use cases . Expected to provide better stability for flaky behavior seen in https://issues.redhat.com/browse/CNV-64764 Signed-off-by: Geetika Kapoor <gkapoor@redhat.com>
4572fe6 to
48404f7
Compare
|
/verified cnv-tests-runner-containerized/5889/ |
Test execution plan request detailsCRITICAL: You MUST post an inline review comment on the first changed line of the first file. As an expert software testing engineer, analyze all modified files in this PR and create a targeted test execution plan. Analysis Requirements:
Your deliverable: Test Execution Plan
Guidelines:
CRITICAL WORKFLOW COMPLETION RULES: When responding to this test execution plan request, you MUST follow these rules EXACTLY:
ABSOLUTE PROHIBITIONS (violating these creates empty/meaningless reviews):
Remember: The pull request review is visible to users. Additional comments are redundant noise. CRITICAL: Before setting "Run smoke tests: True", you MUST use shell scripts to: |
Test Execution PlanRun smoke tests: False This PR refactors data import cron test fixtures and utilities without affecting smoke tests. Execute all tests in the modified directory to verify the refactoring:
Rationale:
|
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 308 🏁 Script executed: Length of output: 3841 🏁 Script executed: Length of output: 407 🏁 Script executed: Length of output: 327 🏁 Script executed: Length of output: 467 🏁 Script executed: Length of output: 278 🏁 Script executed: Length of output: 19 🏁 Script executed: Length of output: 278 🏁 Script executed: Length of output: 92 🧠 Learnings used |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-3550 published |
wait_for_created_volume_from_data_import_cron,
create_vm_with_infer_from_volume)
code cleanup, refactoring and having classes for all major use cases .
Expected to provide better stability for flaky behavior seen in https://issues.redhat.com/browse/CNV-64764
Short description:
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket: