From: Xuehan Xu Date: Mon, 18 Mar 2024 06:45:21 +0000 (+0800) Subject: test/pybind/test_rados: disable the locator key test for crimson X-Git-Tag: testing/wip-lusov-testing-20240611.123850-squid~53^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=978e3d51f349b3f97c98b4e6582a51b89b4038d8;p=ceph-ci.git test/pybind/test_rados: disable the locator key test for crimson clusters Signed-off-by: Xuehan Xu (cherry picked from commit b3754acf3533378f5c00ffaf8f0ffc9854aeb9b1) --- diff --git a/src/test/pybind/test_rados.py b/src/test/pybind/test_rados.py index 31d6b2b9a28..c113005b151 100644 --- a/src/test/pybind/test_rados.py +++ b/src/test/pybind/test_rados.py @@ -715,6 +715,8 @@ class TestIoctx(object): self.ioctx.operate_write_op(write_op, 'abc') def test_locator(self): + if os.getenv("CRIMSON_COMPAT") != None: + return self.ioctx.set_locator_key("bar") self.ioctx.write('foo', b'contents1') objects = [i for i in self.ioctx.list_objects()]