Skip to content

Commit

Permalink
fix parameter and add log
Browse files Browse the repository at this point in the history
Signed-off-by: fbalak <[email protected]>
  • Loading branch information
fbalak committed Jan 30, 2024
1 parent 11b60bf commit 7e9cb6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/functional/object/mcg/test_verify_noobaa_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,13 @@ def test_verify_backingstore_uses_rgw(mcg_obj_session):
Validates whether default MCG backingstore uses rgw endpoint
"""
ceph_object_store = OCP(
kind=constants.CEPHOBJECTSTORE, name="ocs-storagecluster-cephobjectstore"
kind=constants.CEPHOBJECTSTORE,
resource_name="ocs-storagecluster-cephobjectstore",
).get()["items"][0]
rgw_endpoint = ceph_object_store["status"]["endpoints"]["secure"]
log.info(
f"Checking if backingstore noobaa-default-backing-store uses endpoint {rgw_endpoint}"
)

# Get default backingstore status
backingstore_data = mcg_obj_session.exec_mcg_cmd(
Expand Down

0 comments on commit 7e9cb6e

Please sign in to comment.