From dc5e3b262234c8f11289a0a72821c5821072e5be Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Thu, 25 Nov 2021 16:27:05 +0800 Subject: [PATCH] qa: correct the parameters' order The parameters' order is incorrect and missing the client_config. Introduced-by: 242585656c6bc282f5adbd073e83bafa86b5c0d2 Fixes: https://tracker.ceph.com/issues/53216 Signed-off-by: Xiubo Li --- qa/tasks/cephfs/test_client_recovery.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/qa/tasks/cephfs/test_client_recovery.py b/qa/tasks/cephfs/test_client_recovery.py index 96ac987e816..89925fa2a20 100644 --- a/qa/tasks/cephfs/test_client_recovery.py +++ b/qa/tasks/cephfs/test_client_recovery.py @@ -499,10 +499,16 @@ class TestClientRecovery(CephFSTestCase): # create a new instance of mount_a's class with most of the # same settings, but mounted on mount_b's mountpoint. - m = cl(self.mount_a.ctx, self.mount_a.test_dir, self.mount_a.client_id, - self.mount_a.client_remote, self.mount_a.client_keyring_path, - self.mount_b.hostfs_mntpt, self.mount_a.cephfs_name, - self.mount_a.cephfs_mntpt, self.mount_a.ceph_brx_net) + m = cl(ctx=self.mount_a.ctx, + client_config=self.mount_a.client_config, + test_dir=self.mount_a.test_dir, + client_id=self.mount_a.client_id, + client_remote=self.mount_a.client_remote, + client_keyring_path=self.mount_a.client_keyring_path, + cephfs_name=self.mount_a.cephfs_name, + cephfs_mntpt= self.mount_a.cephfs_mntpt, + hostfs_mntpt=self.mount_b.hostfs_mntpt, + brxnet=self.mount_a.ceph_brx_net) # evict mount_a mount_a_client_id = self.mount_a.get_global_id() -- 2.47.3