summaryrefslogtreecommitdiffstats
path: root/qa/tasks/cephfs/test_fscrypt.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/tasks/cephfs/test_fscrypt.py')
-rw-r--r--qa/tasks/cephfs/test_fscrypt.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/tasks/cephfs/test_fscrypt.py b/qa/tasks/cephfs/test_fscrypt.py
index d327c43c1fc..c1405415c63 100644
--- a/qa/tasks/cephfs/test_fscrypt.py
+++ b/qa/tasks/cephfs/test_fscrypt.py
@@ -83,9 +83,11 @@ class TestFSCryptRecovery(FSCryptTestCase):
self.fs.set_joinable()
self.fs.wait_for_daemons()
+ # load all inodes into cache (may be cleared by journal reset)
+ self.mount_a.run_shell_payload(f"cd {self.path} && find")
+
verify_alternate_name()
- self.mount_a.run_shell_payload(f"cd {self.path} && find")
self.mount_a.run_shell_payload(f"cd {self.path} && stat {file}")