]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: ceph_test_rados_api_watch_notify: Allow for reconnect 39844/head
authorBrad Hubbard <bhubbard@redhat.com>
Mon, 22 Feb 2021 03:28:12 +0000 (13:28 +1000)
committerNeha Ojha <nojha@redhat.com>
Fri, 5 Mar 2021 01:47:07 +0000 (01:47 +0000)
commit35874bf4a8e45832ae63cfc1a6ca60f991655fbd
treee623ae187dec24a18995be501d611e92acd58504
parent21ca3d2df7181866934cfa937ded044b22768bbf
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