Skip to content

Commit

Permalink
lib test for ACM upgrade
Browse files Browse the repository at this point in the history
Signed-off-by: Amrita Mahapatra <49347640+amr1ta@users.noreply.github.com>
  • Loading branch information
amr1ta committed Oct 16, 2024
1 parent ae50074 commit 1cd129e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/libtest/test_provider_create_hosted_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
libtest,
purple_squad,
runs_on_provider,
acm_upgrade,
)
from ocs_ci.ocs.ocp import OCP
from ocs_ci.ocs.resources.catalog_source import get_odf_tag_from_redhat_catsrc
Expand Down Expand Up @@ -312,3 +313,15 @@ def test_verify_native_storage(self):
assert (
storage_class in storage_class_classes
), "Storage classes ae not created as expected"

@runs_on_provider
@acm_upgrade
def test_acm_upgrade(self):
"""
Verify acm upgrade
"""
logger.info("Verify acm upgrade")
from ocs_ci.ocs.acm_upgrade import ACMUpgrade

acm_hub_upgrade_obj = ACMUpgrade()
acm_hub_upgrade_obj.run_upgrade()

0 comments on commit 1cd129e

Please sign in to comment.