mirror of
https://github.com/ceph/ceph
synced 2025-02-08 03:18:12 +00:00
test/pybind: check crc fail after append zero
Add test for zero crc check failed. Fixes: https://tracker.ceph.com/issues/53240 Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
This commit is contained in:
parent
afd42666ea
commit
6662e6bc21
@ -312,8 +312,12 @@ class TestIoctx(object):
|
||||
def test_list_objects_empty(self):
|
||||
eq(list(self.ioctx.list_objects()), [])
|
||||
|
||||
def test_list_objects(self):
|
||||
def test_read_crc(self):
|
||||
self.ioctx.write('a', b'')
|
||||
self.ioctx.write('a', b'', 5)
|
||||
self.ioctx.read('a')
|
||||
|
||||
def test_list_objects(self):
|
||||
self.ioctx.write('b', b'foo')
|
||||
self.ioctx.write_full('c', b'bar')
|
||||
self.ioctx.append('d', b'jazz')
|
||||
|
Loading…
Reference in New Issue
Block a user