From: Rishabh Dave Date: Wed, 12 Nov 2025 17:04:40 +0000 (+0530) Subject: test_cephfs: call object setup/teardown for all tests in TestWithRootUser X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=606ac6d590a3444f2f4a91fc19ed04c8100541e7;p=ceph.git test_cephfs: call object setup/teardown for all tests in TestWithRootUser Signed-off-by: Rishabh Dave --- diff --git a/src/test/pybind/test_cephfs.py b/src/test/pybind/test_cephfs.py index e68353cf3c7a..0943d72117a3 100644 --- a/src/test/pybind/test_cephfs.py +++ b/src/test/pybind/test_cephfs.py @@ -1506,7 +1506,7 @@ class TestWithRootUser: assert_equal(st2.st_gid, new_gid) # reset to old uid & gid for sake of teardown. - cephfs.chownat(dirfd, b'slink1', old_uid, old_gid, 0) + cephfs.chownat(dirfd, b'slink1', old_uid, old_gid, libcephfs.AT_SYMLINK_NOFOLLOW) cephfs.close(dirfd) def test_setattrx(self, testdir):