From: Rishabh Dave Date: Thu, 30 Mar 2023 19:36:13 +0000 (+0530) Subject: qa/cephfs: minor improvement in caps_helper X-Git-Tag: v18.2.5~715^2~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=502fbf825fba583c9927234835a556fd7291a283;p=ceph.git qa/cephfs: minor improvement in caps_helper Use Python type list instead of tuple since it get's necessary to modify members of this sequence. Signed-off-by: Rishabh Dave (cherry picked from commit 1a7ca489b4b84ae48c831ec63b201c024047b295) --- diff --git a/qa/tasks/cephfs/caps_helper.py b/qa/tasks/cephfs/caps_helper.py index 4e3d4280e40..d8a2d8f67c4 100644 --- a/qa/tasks/cephfs/caps_helper.py +++ b/qa/tasks/cephfs/caps_helper.py @@ -168,7 +168,7 @@ class CapTester(CephFSTestCase): f'cephfs_mntpt = {mount_x.cephfs_mntpt}\n' f'hostfs_mntpt = {mount_x.hostfs_mntpt}') mount_x.write_file(filepath, filedata) - self.test_set.append((mount_x, filepath, filedata)) + self.test_set.append([mount_x, filepath, filedata]) log.info(f'Test file created at "{filepath}" with the following ' f'data -\n"{filedata}"')