]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: Handle TypeError in test_filelock 68389/head
authorKarthik U S <karthik.u.s1@ibm.com>
Wed, 15 Apr 2026 15:17:45 +0000 (20:47 +0530)
committerKarthik U S <karthik.u.s1@ibm.com>
Wed, 22 Apr 2026 09:59:13 +0000 (15:29 +0530)
commit1c70ef1c6a284a974cdeb0ddaba19be90d3e6c91
tree795b6fba16cbec73005cd863f198f4b635a34a50
parentbcedb60833a7fe531c271a59098ed9f922c16208
qa: Handle TypeError in test_filelock

Latest versions of OS comes with fuse3 installed and we are checking for
only fuse in the get_package_version check in the test case. Checking just
for the package string fuse will return None if only fuse3 is installed.
Adding check for both fuse and fuse3 packages now and also handling NoneType
return in _is_flockable() if the package is actually missing.

Fixes: https://tracker.ceph.com/issues/75959
Signed-off-by: Karthik U S <karthik.u.s1@ibm.com>
qa/tasks/cephfs/test_client_recovery.py