From a6e11b474b33cd5516df4985aa0138d2753f9f94 Mon Sep 17 00:00:00 2001 From: fbalak Date: Tue, 30 Jan 2024 11:17:24 +0100 Subject: [PATCH] fix parameter and add log Signed-off-by: fbalak --- tests/functional/object/mcg/test_verify_noobaa_status.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/functional/object/mcg/test_verify_noobaa_status.py b/tests/functional/object/mcg/test_verify_noobaa_status.py index 9e55190bfd1..c6c57a5936b 100644 --- a/tests/functional/object/mcg/test_verify_noobaa_status.py +++ b/tests/functional/object/mcg/test_verify_noobaa_status.py @@ -80,7 +80,8 @@ def test_verify_backingstore_uses_rgw(mcg_obj_session): ceph_object_store = OCP( kind=constants.CEPHOBJECTSTORE, resource_name="ocs-storagecluster-cephobjectstore", - ).get()["items"][0] + ).get() + log.debug(f"Ceph object store: {ceph_object_store}") rgw_endpoint = ceph_object_store["status"]["endpoints"]["secure"] log.info( f"Checking if backingstore noobaa-default-backing-store uses endpoint {rgw_endpoint}"