]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librbd: extend TestLibRBD.RenameViaLockOwner
authorMykola Golub <mgolub@suse.com>
Mon, 22 Feb 2021 12:53:38 +0000 (12:53 +0000)
committerMykola Golub <mgolub@suse.com>
Mon, 22 Feb 2021 12:53:38 +0000 (12:53 +0000)
commit2d2e04e86bcc666e3abaceeeef7e1598dcc9fb94
tree942ccb016c458507111c0eefff024f8d4d012af3
parent2a9fac2cc4b10af04c52e12f34932e6d2d91441f
test/librbd: extend TestLibRBD.RenameViaLockOwner

To cover the following case:

- Client A has image opened but does not owns the lock.
- Client B renames the image (client A is not aware of it).
- Client A becomes the lock owner.
- Client B requests rename, which is proxied to the client A.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/test/librbd/test_librbd.cc