]> git.apps.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:02:32 +0000 (22:32 +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 5c10701d3ed2fe5963a20044ad417f5f589c738b..fe3276aa0bb80ea538fa06c5fe9e672b33449449 100644 (file)
@@ -376,7 +376,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):