From abe7cb4fa831187b823372ee9b4d935e35a8db15 Mon Sep 17 00:00:00 2001 From: Amarnath K Date: Mon, 6 Jan 2025 23:00:00 +0530 Subject: [PATCH] Fixing method defnition Signed-off-by: Amarnath K --- .../cephfs_nfs/nfs_info_cluster_id_and_ls_export_detailed.py | 4 ++-- tests/cephfs/cephfs_utilsV1.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/cephfs/cephfs_nfs/nfs_info_cluster_id_and_ls_export_detailed.py b/tests/cephfs/cephfs_nfs/nfs_info_cluster_id_and_ls_export_detailed.py index 812730b3f..5b269a3e5 100644 --- a/tests/cephfs/cephfs_nfs/nfs_info_cluster_id_and_ls_export_detailed.py +++ b/tests/cephfs/cephfs_nfs/nfs_info_cluster_id_and_ls_export_detailed.py @@ -60,7 +60,7 @@ def run(ceph_cluster, **kw): ) cluster_id = f"test-nfs_{rand}" path = "/" - export_id = "1" + fs_name = "cephfs" if not erasure else "cephfs-ec" fs_details = fs_util.get_fs_info(client1, fs_name) @@ -70,7 +70,7 @@ def run(ceph_cluster, **kw): user_id = ( f"nfs.{cluster_id}.{fs_name}" if int(build.split(".")[0]) == 7 - else f"nfs.{cluster_id}.{export_id}" + else f"nfs.{cluster_id}" ) passed = [] diff --git a/tests/cephfs/cephfs_utilsV1.py b/tests/cephfs/cephfs_utilsV1.py index ed68aac62..a62a097e6 100644 --- a/tests/cephfs/cephfs_utilsV1.py +++ b/tests/cephfs/cephfs_utilsV1.py @@ -4986,7 +4986,6 @@ def runio_modify_max_mds( fs_name, clients, mount_paths, - mount_type, max_mds_value, ): """