]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: ceph_test_rados_api_watch_notify: Allow for reconnect 40756/head
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 22 Feb 2021 03:28:12 +0000 (13:28 +1000)
committerNathan Cutler <ncutler@suse.com>
Sat, 10 Apr 2021 17:52:13 +0000 (19:52 +0200)
commitc4b37c50fa289f2a033cf8a2f96c8e3c5867840c
treed88a06203f0da33cfba1aa9bbe3279e253285cfb
parent1976598f645ad1935a5e428219713b8856796d83
tests: ceph_test_rados_api_watch_notify: Allow for reconnect

An injected socket failure may cause rados_watch_check() to return
ENOENT instead of the expected ENOTCONN.

Fixes: https://tracker.ceph.com/issues/47719
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 0a03a81f633f11bd3247b2f8f10f719c7b3d38e3)
src/test/librados/watch_notify.cc