From 079f922532147039c57cff7682b13fe92bf31538 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Mon, 16 Mar 2026 10:18:22 +0530 Subject: [PATCH] qa/cephfs: do not validate error string in "fs authorize" tests Error string validation is prone to failures when error string changes. errno (retval) validation suffices for tests. Signed-off-by: Venky Shankar (cherry picked from commit d499c7f30f6d381bd3251108ff8dda9fd3c80f0f) --- qa/tasks/cephfs/test_admin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qa/tasks/cephfs/test_admin.py b/qa/tasks/cephfs/test_admin.py index 20d0d7c7cda8..048d7061e4f6 100644 --- a/qa/tasks/cephfs/test_admin.py +++ b/qa/tasks/cephfs/test_admin.py @@ -2661,8 +2661,7 @@ class TestPermErrMsg(CephFSTestCase): for wrong_perm in ('w', 'wr'): self.negtest_ceph_cmd( args=(f'fs authorize {self.fs.name} {self.CLIENT_NAME} / ' - f'{wrong_perm}'), retval=self.EXPECTED_ERRNO, - errmsgs=self.EXPECTED_ERRMSG) + f'{wrong_perm}'), retval=self.EXPECTED_ERRNO) class TestFSFail(TestAdminCommands): -- 2.47.3