]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librbd: extend DiffIterateTest.DiffIterateDeterministic{,PP}
authorIlya Dryomov <idryomov@gmail.com>
Fri, 21 Jun 2024 13:56:27 +0000 (15:56 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 15 Jul 2024 14:27:28 +0000 (16:27 +0200)
commit089181eee1b0f1cade03e3561353f38ed36c448d
tree64b8b96d6ecf1a778c60b04155ff502fa9d900c5
parent59ea8a7f217a0deb192a353066a63bd0ad239250
test/librbd: extend DiffIterateTest.DiffIterateDeterministic{,PP}

Currently we are laying data only at the beginning of an object.
Extend the skeletons to write to three different offsets in the middle
and also at the end of the object.

Separately, make C and C++ API test variants slightly different in
terms of offsets being targeted to not go through exactly the same
scenario twice.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit da69d1fdbf69cf37ba8b75ea9a230634bb25ae76)
src/test/librbd/test_librbd.cc