From 3689aefbba6db39a79ae21a30698551982fe2f20 Mon Sep 17 00:00:00 2001 From: neeraj pratap singh Date: Thu, 27 Feb 2025 09:25:05 +0530 Subject: [PATCH] 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 --- qa/tasks/cephfs/test_misc.py | 3 +++ 1 file changed, 3 insertions(+) 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']) -- 2.47.3