]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephfs: reset the client_inject_fixed_oldest_tid after test 52692/head
authorXiubo Li <xiubli@redhat.com>
Sat, 29 Jul 2023 02:32:38 +0000 (10:32 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 1 Aug 2023 03:27:49 +0000 (11:27 +0800)
The test cases will be sorted alphabetically, we need to reset the
configuration in the previous test cases.

Fixed: https://tracker.ceph.com/issues/62229
Signed-off-by: Xiubo Li <xiubli@redhat.com>
qa/tasks/cephfs/test_client_limits.py

index c8cf0785ba150cfbe7f3a976bd4b91f4d4a8ba58..5f2fd14a9c5fc6dfe3514380242ed4df50a3a6c8 100644 (file)
@@ -246,6 +246,11 @@ class TestClientLimits(CephFSTestCase):
         # Wait for the health warnings. Assume mds can handle 10 request per second at least
         self.wait_for_health("MDS_CLIENT_OLDEST_TID", max_requests // 10, check_in_detail=str(self.mount_a.client_id))
 
+        # reset the config val
+        self.set_conf('client', 'client inject fixed oldest tid', 'false')
+        self.mount_a.teardown()
+        self.mount_a.mount_wait()
+
     def _test_client_cache_size(self, mount_subdir):
         """
         check if client invalidate kernel dcache according to its cache size config