mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
Merge PR #37869 into master
* refs/pull/37869/head: qa: for the latest kclient it will also return EIO Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
254253780d
@ -440,8 +440,8 @@ class TestDamage(CephFSTestCase):
|
||||
if isinstance(self.mount_a, FuseMount):
|
||||
self.assertEqual(e.exitstatus, errno.EIO)
|
||||
else:
|
||||
# Kernel client handles this case differently
|
||||
self.assertEqual(e.exitstatus, errno.ENOENT)
|
||||
# Old kernel client handles this case differently
|
||||
self.assertIn(e.exitstatus, [errno.ENOENT, errno.EIO])
|
||||
else:
|
||||
raise AssertionError("Expected EIO")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user