From: Kotresh HR Date: Tue, 11 Mar 2025 12:03:35 +0000 (+0530) Subject: qa: Add stat and sleep before rename X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fqa-test-referent-stat-sleep;p=ceph.git qa: Add stat and sleep before rename --- diff --git a/qa/tasks/cephfs/test_referent.py b/qa/tasks/cephfs/test_referent.py index e72d1e472e2c1..092d67ebcfec6 100644 --- a/qa/tasks/cephfs/test_referent.py +++ b/qa/tasks/cephfs/test_referent.py @@ -85,6 +85,9 @@ class TestReferentInode(CephFSTestCase): # of the newly introduced referent inode to the data pool. self.fs.mds_asok(["flush", "journal"]) + secondary_inode = self.mount_a.path_to_ino('dir1/hardlink_file1') + time.sleep(10) + # rename hardlink referent dentry, noop srcpath = os.path.join(self.mount_a.mountpoint, "dir0", "file1") dstpath = os.path.join(self.mount_a.mountpoint, "dir1", "hardlink_file1")