]> git.proxmox.com Git - ceph.git/blame - ceph/qa/tasks/cephfs/test_newops.py
bump version to 18.2.2-pve1
[ceph.git] / ceph / qa / tasks / cephfs / test_newops.py
CommitLineData
39ae355f
TL
1import logging
2from tasks.cephfs.cephfs_test_case import CephFSTestCase
39ae355f
TL
3
4log = logging.getLogger(__name__)
5
6class TestNewOps(CephFSTestCase):
7 def test_newops_getvxattr(self):
8 """
9 For nautilus it will crash the MDSs when receive unknown OPs, as a workaround
10 the clients should avoid sending them to nautilus
11 """
39ae355f
TL
12
13 log.info("Test for new getvxattr op...")
14 self.mount_a.run_shell(["mkdir", "newop_getvxattr_dir"])
15
16 # to test whether will nautilus crash the MDSs
17 self.mount_a.getfattr("./newop_getvxattr_dir", "ceph.dir.pin.random")
18 log.info("Test for new getvxattr op succeeds")