]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: Add stat and sleep before rename qa-test-referent-stat-sleep
authorKotresh HR <khiremat@redhat.com>
Tue, 11 Mar 2025 12:03:35 +0000 (17:33 +0530)
committerGitHub <noreply@github.com>
Tue, 11 Mar 2025 12:03:35 +0000 (17:33 +0530)
qa/tasks/cephfs/test_referent.py

index e72d1e472e2c1243e8df7c00e52e85a20d22d19d..092d67ebcfec608c16fc690adbbcc67e4d52b64e 100644 (file)
@@ -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")