]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/pybind/test_rados: disable the locator key test for crimson
authorXuehan Xu <xuxuehan@qianxin.com>
Mon, 18 Mar 2024 06:45:21 +0000 (14:45 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 21 May 2024 12:41:14 +0000 (15:41 +0300)
clusters

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit b3754acf3533378f5c00ffaf8f0ffc9854aeb9b1)

src/test/pybind/test_rados.py

index 31d6b2b9a28bdf23ce029438905a0f90f8ba65cc..c113005b151913d05d4f4ab57883c578e98398ad 100644 (file)
@@ -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()]