]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/cephfs: update tests for mount-by-fs-name
authorYan, Zheng <zyan@redhat.com>
Thu, 31 Mar 2016 05:51:26 +0000 (13:51 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 31 Mar 2016 05:51:26 +0000 (13:51 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
tasks/cephfs/test_failover.py

index acf2824ef762157503a6f39474954e273733b6a3..35ab6dbbb559d3c9d4393fdf403627c49380eb89 100644 (file)
@@ -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)