]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/pybind/test_rados.py: add test for reversed arguments offset,length in WriteOp...
authorWang Chao <sean10reborn@gmail.com>
Tue, 13 Aug 2024 13:34:12 +0000 (21:34 +0800)
committerWang Chao <sean10reborn@gmail.com>
Tue, 5 Nov 2024 16:17:19 +0000 (00:17 +0800)
commit3a27c3e58fca96d0f0c80a1d264cb3f5f156f5c3
tree9604b2ce90d9acbeb2cbb0fa51435d142b0303e5
parent049d7d35abe0aa2560e3bb9d4fafb43eefb4a0ed
test/pybind/test_rados.py: add test for reversed arguments offset,length in WriteOp.zero

Before the fix, zero(0, 2) would have no effect, and read would get '12345' instead of the expected '\x00\x00345'.

Signed-off-by: Wang Chao <sean10reborn@gmail.com>
src/test/pybind/test_rados.py