From: Adam C. Emerson Date: Wed, 26 Nov 2025 05:59:35 +0000 (-0500) Subject: test/neorados: Don't leak watch handle X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ccc40eb69b4e8b66f7b9d32622bb22614b410166;p=ceph.git test/neorados: Don't leak watch handle Add missing unwatch call. Signed-off-by: Adam C. Emerson --- diff --git a/src/test/neorados/watch_notify.cc b/src/test/neorados/watch_notify.cc index f7305c37ef1a..a65fe6b0e393 100644 --- a/src/test/neorados/watch_notify.cc +++ b/src/test/neorados/watch_notify.cc @@ -312,6 +312,7 @@ CORO_TEST_F(NeoRadosWatchNotifyPoll, WrongWatchType, NeoRadosTest) { co_await expect_error_code( rados().next_notification(handle, asio::use_awaitable), sys::errc::invalid_argument); + co_await rados().unwatch(handle, pool(), asio::use_awaitable); } CORO_TEST_F(NeoRadosWatchNotifyPoll, WatchNotifyCancel, NeoRadosTest) {