From 7ec7ed66bc3cb1b2d2236ef883b9aa7f23397774 Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Sat, 29 Jul 2023 10:32:38 +0800 Subject: [PATCH] qa/tasks/cephfs: reset the client_inject_fixed_oldest_tid after test 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 --- qa/tasks/cephfs/test_client_limits.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qa/tasks/cephfs/test_client_limits.py b/qa/tasks/cephfs/test_client_limits.py index c8cf0785ba15..5f2fd14a9c5f 100644 --- a/qa/tasks/cephfs/test_client_limits.py +++ b/qa/tasks/cephfs/test_client_limits.py @@ -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 -- 2.47.3