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:
Patrick Donnelly 2020-11-04 21:03:02 -08:00
commit 254253780d
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -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")