]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add recursive flag to test_flag_scrub_mdsdir
authorDhairya Parmar <dparmar@redhat.com>
Mon, 22 May 2023 11:55:38 +0000 (17:25 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Tue, 18 Jul 2023 17:03:55 +0000 (22:33 +0530)
Code has been changed, in order to scrub ~mdsdir at root,
recursive flag also needs to be provided along with
scrub_mdsdir.

Fixes: https://tracker.ceph.com/issues/59350
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit e40ca408a1343754b80ba1e88e0b669689ada164)

qa/tasks/cephfs/test_scrub_checks.py

index f88929ad265e8ac24da7a3ea042cec28219d56fa..e41b997a6eebc0a693eca7c30bfd0f49d7ffcc24 100644 (file)
@@ -374,7 +374,7 @@ class TestScrubChecks(CephFSTestCase):
         test flag scrub_mdsdir
         """
         self.scrub_with_stray_evaluation(self.fs, self.mount_a, "/",
-                                         "scrub_mdsdir")
+                                         "recursive,scrub_mdsdir")
 
     @staticmethod
     def json_validator(json_out, rc, element, expected_value):