Skip to content

Commit

Permalink
Fixed some tests for tier1 and tier2 marker
Browse files Browse the repository at this point in the history
Signed-off-by: Parag Kamble <[email protected]>
  • Loading branch information
paraggit committed Oct 26, 2023
1 parent 5e19310 commit 3b88096
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/manage/mcg/ui/test_mcg_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,9 @@ def test_obc_creation_and_deletion(

obc_ui_obj = ObjectBucketClaimsTab()

storageclass = storageclass_name(constants.OCS_COMPONENTS_MAP["rgw"])
if storageclass == constants.DEFAULT_STORAGECLASS_RGW:
storageclass = storageclass_name(constants.OCS_COMPONENTS_MAP["rgw"])

obc_ui_obj.create_obc_ui(obc_name, storageclass, bucketclass)

assert obc_page.verify_current_page_resource_status(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ def test_over_provision_level_policy_control(
9.Create New PVC with 1G capacity and verify it is working [8Gi > 1Gi + 6Gi]
"""
sc_name = storageclass_name(sc_interface)
if sc_interface not in constants.OCS_COMPONENTS_MAP:
sc_name = sc_interface
else:
sc_name = storageclass_name(sc_interface)

quota_names = {
storageclass_name(
Expand Down

0 comments on commit 3b88096

Please sign in to comment.