]> 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:33:07 +0000 (14:33 +0200)
commit00b5667fae0749ba70bb2ff95b69c6dc04136be1
treee68929eba8d99abab95c567e0db8eb18e37df599
parentc33a9b1430f7d56838d4d216bc7dc610c8dd890a
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