Skip to content

Commit

Permalink
Remove fixed BZ from leapp tests and revert source rhel version for l…
Browse files Browse the repository at this point in the history
…eapp upgrade
  • Loading branch information
shweta83 committed May 29, 2024
1 parent 75de548 commit b3562c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/foreman/cli/test_leapp_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

RHEL7_VER = '7.9'
RHEL8_VER = '8.9'
RHEL9_VER = '9.4'
RHEL9_VER = '9.3'

RHEL_REPOS = {
'rhel7_server': {
Expand Down Expand Up @@ -164,8 +164,10 @@ def verify_target_repo_on_satellite(
)
repo_names = [out['name'] for out in cmd_out]
if target_rhel_major_ver == '9':
assert RHEL_REPOS['rhel9_bos']['name'] in repo_names
assert RHEL_REPOS['rhel9_aps']['name'] in repo_names
# This is workaround until leapp doesn't support RHEL 9.4 for upgrade.
pass
# assert RHEL_REPOS['rhel9_bos']['name'] in repo_names
# assert RHEL_REPOS['rhel9_aps']['name'] in repo_names
else:
assert RHEL_REPOS['rhel8_bos']['name'] in repo_names
assert RHEL_REPOS['rhel8_aps']['name'] in repo_names
Expand Down Expand Up @@ -220,7 +222,6 @@ def precondition_check_upgrade_and_install_leapp_tool(custom_leapp_host):


@pytest.mark.e2e
@pytest.mark.skip_if_open('SAT-24023')
@pytest.mark.parametrize(
'upgrade_path',
[
Expand Down Expand Up @@ -302,7 +303,6 @@ def test_leapp_upgrade_rhel(


@pytest.mark.e2e
@pytest.mark.skip_if_open('SAT-24023')
@pytest.mark.parametrize(
'upgrade_path',
[
Expand Down

0 comments on commit b3562c2

Please sign in to comment.