From: Yan, Zheng Date: Thu, 31 Mar 2016 05:51:26 +0000 (+0800) Subject: tasks/cephfs: update tests for mount-by-fs-name X-Git-Tag: v11.1.1~58^2^2~176^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c07f4a682eeaac46dce3e41d87ebd3a5f58155e7;p=ceph.git tasks/cephfs: update tests for mount-by-fs-name Signed-off-by: Yan, Zheng --- diff --git a/tasks/cephfs/test_failover.py b/tasks/cephfs/test_failover.py index acf2824ef762..35ab6dbbb559 100644 --- a/tasks/cephfs/test_failover.py +++ b/tasks/cephfs/test_failover.py @@ -190,8 +190,8 @@ class TestMultiFilesystems(CephFSTestCase): # Mount a client on fs_a fs_a.set_ceph_conf( - "client.{0}".format(self.mount_a.client_id), "client_mds_namespace", - fs_a.get_namespace_id().__str__() + "client.{0}".format(self.mount_a.client_id), + "client_mds_namespace", fs_a.name ) self.mount_a.mount() self.mount_a.write_n_mb("pad.bin", 1) @@ -202,8 +202,8 @@ class TestMultiFilesystems(CephFSTestCase): # Mount a client on fs_b fs_b.set_ceph_conf( - "client.{0}".format(self.mount_b.client_id), "client_mds_namespace", - fs_b.get_namespace_id().__str__() + "client.{0}".format(self.mount_b.client_id), + "client_mds_namespace", fs_b.name ) self.mount_b.mount() self.mount_b.write_n_mb("test.bin", 1)