def test_client_ls(self):
self._session_client_ls(['client', 'ls'])
+ def test_ceph_tell_for_unknown_cephname_type(self):
+ with self.assertRaises(CommandFailedError) as ce:
+ self.run_ceph_cmd('tell', 'cephfs.c', 'something')
+ self.assertEqual(ce.exception.exitstatus, 1)
+
@classhook('_add_session_client_evictions')
class TestSessionClientEvict(CephFSTestCase):
setattr(cls, 'test_session' + t, create_test(t, ['session']))
setattr(cls, 'test_client' + t, create_test(t, ['client']))
-
+
class TestCacheDrop(CephFSTestCase):
CLIENTS_REQUIRED = 1