From 28e6d457ad78b33a7e69cc55d7964ac50b8897c6 Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Wed, 26 Nov 2025 00:59:35 -0500 Subject: [PATCH] test/neorados: Don't leak watch handle Add missing unwatch call. Signed-off-by: Adam C. Emerson --- src/test/neorados/watch_notify.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/neorados/watch_notify.cc b/src/test/neorados/watch_notify.cc index c567a5b3e22..e9803a25581 100644 --- a/src/test/neorados/watch_notify.cc +++ b/src/test/neorados/watch_notify.cc @@ -290,6 +290,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) { -- 2.47.3