]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: switch TEST_FS_MOUNT_OPTS to CEPHFS_MOUNT_OPTIONS
authorXiubo Li <xiubli@redhat.com>
Mon, 28 Nov 2022 05:52:53 +0000 (13:52 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 1 Dec 2022 08:33:10 +0000 (16:33 +0800)
Both the test_dev and scratch_dev could use the CEPHFS_MOUNT_OPTIONS.
Without this the xfstests tests will just be aborted without any error
logs when testing the encrypt and it's very hard to debug.

Fixes: https://tracker.ceph.com/issues/58133
Signed-off-by: Xiubo Li <xiubli@redhat.com>
qa/tasks/cephfs/xfstests_dev.py

index ebf2ab069d67d6a1b530d24f02da26bb1adb74ec..de788ab42e6f8b5c242e7d5a85e016197e3cc639 100644 (file)
@@ -145,7 +145,7 @@ class XFSTestsDev(CephFSTestCase):
             export TEST_DIR={}
             export SCRATCH_DEV={}
             export SCRATCH_MNT={}
-            export TEST_FS_MOUNT_OPTS="-o name=admin,secret={}"
+            export CEPHFS_MOUNT_OPTIONS="-o name=admin,secret={}"
             ''').format(self.test_dev, self.test_dirs_mount_path, self.scratch_dev,
                         self.scratch_dirs_mount_path, self.get_admin_key())