From: neeraj pratap singh Date: Thu, 27 Feb 2025 03:55:05 +0000 (+0530) Subject: qa: test case for evicting clients with id having multiple number of consecutive... X-Git-Tag: v21.0.0~10^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F61981%2Fhead;p=ceph.git qa: test case for evicting clients with id having multiple number of consecutive zeroes Fixes: https://tracker.ceph.com/issues/70198 Signed-off-by: neeraj pratap singh --- diff --git a/qa/tasks/cephfs/test_misc.py b/qa/tasks/cephfs/test_misc.py index 14f54a784e7..9c43a46a4e2 100644 --- a/qa/tasks/cephfs/test_misc.py +++ b/qa/tasks/cephfs/test_misc.py @@ -556,6 +556,9 @@ class TestSessionClientEvict(CephFSTestCase): with self.assertRaises(CommandFailedError) as ce: self.fs.rank_tell(cmd + ['evict', 'id=0']) self.assertEqual(ce.exception.exitstatus, errno.EINVAL) + with self.assertRaises(CommandFailedError) as ce: + self.fs.rank_tell(cmd + ['evict', 'id=000']) + self.assertEqual(ce.exception.exitstatus, errno.EINVAL) def _evict_with_invalid_id(self, cmd): info_initial = self.fs.rank_asok(cmd + ['ls'])