]>
Commit | Line | Data |
---|---|---|
39ae355f TL |
1 | import logging |
2 | from tasks.cephfs.cephfs_test_case import CephFSTestCase | |
39ae355f TL |
3 | |
4 | log = logging.getLogger(__name__) | |
5 | ||
6 | class 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") |