]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: enable SCRATCH_DEV for file encryption tests
authorXiubo Li <xiubli@redhat.com>
Wed, 23 Nov 2022 07:34:16 +0000 (15:34 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 1 Dec 2022 08:33:10 +0000 (16:33 +0800)
ceph file encryption test cases need the SCRATCH_DEV.

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

index c9902fa9266660c2cf1e51ed1e5ae8a0e0816919..ebf2ab069d67d6a1b530d24f02da26bb1adb74ec 100644 (file)
@@ -143,8 +143,8 @@ class XFSTestsDev(CephFSTestCase):
             export FSTYP=ceph
             export TEST_DEV={}
             export TEST_DIR={}
-            #export SCRATCH_DEV={}
-            #export SCRATCH_MNT={}
+            export SCRATCH_DEV={}
+            export SCRATCH_MNT={}
             export TEST_FS_MOUNT_OPTS="-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())