mirror of
https://github.com/ceph/ceph
synced 2025-01-12 06:00:46 +00:00
ede1afe91c
Will use the postmerge fragment to check this. Fixes: https://tracker.ceph.com/issues/57591 Signed-off-by: Xiubo Li <xiubli@redhat.com>
19 lines
651 B
Python
19 lines
651 B
Python
import logging
|
|
from tasks.cephfs.cephfs_test_case import CephFSTestCase
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
class TestNewOps(CephFSTestCase):
|
|
def test_newops_getvxattr(self):
|
|
"""
|
|
For nautilus it will crash the MDSs when receive unknown OPs, as a workaround
|
|
the clients should avoid sending them to nautilus
|
|
"""
|
|
|
|
log.info("Test for new getvxattr op...")
|
|
self.mount_a.run_shell(["mkdir", "newop_getvxattr_dir"])
|
|
|
|
# to test whether will nautilus crash the MDSs
|
|
self.mount_a.getfattr("./newop_getvxattr_dir", "ceph.dir.pin.random")
|
|
log.info("Test for new getvxattr op succeeds")
|