]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: fix up PrepareReplayDisconnected test case
authorIlya Dryomov <idryomov@gmail.com>
Sat, 18 Jun 2022 11:00:34 +0000 (13:00 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 22 Jun 2022 12:35:00 +0000 (14:35 +0200)
commitfe32a2ab856f1d0fe6d9027f7933af559d3e02c1
tree5a1df074586199964e1016a6556711ae0dfd6f00
parentdc631327fa0966ac70c3ffd1b1908fb4056ed210
rbd-mirror: fix up PrepareReplayDisconnected test case

It was botched in commit 2bca9ee96c65 ("rbd-mirror: consolidate
prepare local/remote image steps to bootstrap") and went unnoticed
because currently no special handling is needed for disconnected
clients -- is_disconnected() check happens to be the last step
and it doesn't generate an error.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b6d6a2737ebb8c131d929bca6d39a0b15c67755e)
src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc