]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerChristopher Hoffman <choffman@redhat.com>
Thu, 6 Apr 2023 15:21:51 +0000 (15:21 +0000)
commitffca96e97329a92b7a2f00d3d51f484d929dfbff
tree6c67145bbf300b7ef0ed508d96e1fa1cbf99fa6a
parentd3f730e720172806e16011eac971c0b61a0ff253
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