]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: LibRadosWatchNotifyPP.WatchNotify - reconnect on watch terminate 46499/head
authorNitzanMordhai <nmordech@redhat.com>
Mon, 11 Apr 2022 11:17:54 +0000 (11:17 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Thu, 2 Jun 2022 09:38:06 +0000 (12:38 +0300)
commit160a11c9c06f01615768de4cb8990d5d9415a9a5
treec7717a9db1eacf31aca2387fc360db1ebf9a1a3d
parent0a8f1c4f07a6dd0bdc1605078157584dd66fd5e8
tests: LibRadosWatchNotifyPP.WatchNotify - reconnect on watch terminate

When socket failure injection or any delay that time out watch we need reconnect the watch
using the error callback to reconnect

Fixes: https://tracker.ceph.com/issues/47025
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
(cherry picked from commit d2c5d7a4bfd58455bf99f2b3506339ce99493ce2)
src/test/librados/watch_notify_cxx.cc