-
Notifications
You must be signed in to change notification settings - Fork 114
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
[6.13.z] [POC] New-Style Upgrade Tests #16766
base: 6.13.z
Are you sure you want to change the base?
[6.13.z] [POC] New-Style Upgrade Tests #16766
Conversation
* [POC] New-Style Upgrade Tests SharedResource: - Added the ability to validate the result of a given action function via an action_validator function. - Made an improvement to exiting under error conditions that improved tracking file cleanup. New directory for new-style upgrades located at tests/new_upgrades. This will help to keep changes isolated from the existing upgrade tests. new_upgrades/conftest: - Removed the requirement for all upgrade tests to be marked as pre/post - Introduced fixtures that coordinate checkout/checkin actions between multiple xdist workers. - Introduced a fixture that performs an upgrade on a target satellite - Introduced a fixture that is used for two test conversions in different modules. test conversions: - test_cv_upgrade_scenario and test_scenario_custom_repo_check converted - pre-upgrade tests are now pre-upgrade fixtures that perform setup and yield their data in Box objects instead of saving to disk - post-upgrade tests can now directly access the setup objects by inheriting the pre-upgrade fixture results * Get test_cv_upgrade_scenario into passing state * Get test_scenario_custom_repo_check into passing state * Revert hard-coded setting in conftest --------- Co-authored-by: synkd <[email protected]> Co-authored-by: synkd <[email protected]> (cherry picked from commit e345285)
trigger: test-robottelo |
PRT Result
|
trigger: test-robottelo |
…3505d352c3aa0427e
trigger: test-robottelo |
…3505d352c3aa0427e
trigger: test-robottelo |
PRT run |
Cherrypick of PR: #14111
SharedResource:
upgrades/conftest:
test conversions:
settings: