]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: correct the parameters' order 43981/head
authorXiubo Li <xiubli@redhat.com>
Thu, 25 Nov 2021 08:27:05 +0000 (16:27 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 1 Dec 2021 07:06:06 +0000 (15:06 +0800)
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 <xiubli@redhat.com>
qa/tasks/cephfs/test_client_recovery.py

index 96ac987e816cfbbf3507441916241cab848605f4..89925fa2a207c2e02979de8886079c7762405479 100644 (file)
@@ -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()