]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librados_test_stub: raise a watch error on blocklisting
authorIlya Dryomov <idryomov@gmail.com>
Thu, 30 Mar 2023 16:22:24 +0000 (18:22 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 6 Apr 2023 15:08:00 +0000 (17:08 +0200)
commitfd00b6fa4bfb7ad6f08ac42aba7d28c5e4501277
tree484a26149281e755cf015b215e9bdd48bae3f2b9
parent7c02bc0ec325c7879abb67c37c9b7caac77da636
test/librados_test_stub: raise a watch error on blocklisting

Simulate getting MWatchNotify CEPH_WATCH_EVENT_DISCONNECT message after
the client is blocklisted.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 0dfe87d3b6ed52cee6f6660b42af42a8dd7708bb)
src/test/librados_test_stub/TestWatchNotify.cc