Skip to content
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

Open
wants to merge 3 commits into
base: 6.13.z
Choose a base branch
from

Commits on Oct 24, 2024

  1. [POC] New-Style Upgrade Tests (#14111)

    * [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 <dsynk@redhat.com>
    Co-authored-by: synkd <48261305+synkd@users.noreply.github.com>
    (cherry picked from commit e345285)
    JacobCallahan authored and web-flow committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    87409b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    04bbcfe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    738a207 View commit details
    Browse the repository at this point in the history