From: Adam C. Emerson Date: Tue, 17 Jun 2025 17:37:22 +0000 (-0400) Subject: neorados: Increase timeouts in watch/notify poll tests X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=58a51fbb7a0e323420512b660b6e7c40e144a4ad;p=ceph.git neorados: Increase timeouts in watch/notify poll tests Since we seem to be hitting timeouts on teuthology. Fixes: https://tracker.ceph.com/issues/70916 Signed-off-by: Adam C. Emerson --- diff --git a/src/test/neorados/watch_notify.cc b/src/test/neorados/watch_notify.cc index e3853f2450cf9..59da34a40ffa0 100644 --- a/src/test/neorados/watch_notify.cc +++ b/src/test/neorados/watch_notify.cc @@ -175,7 +175,7 @@ CORO_TEST_F(NeoRadosWatchNotify, WatchNotifyTimeout, NeoRadosWatchNotifyTest) { CORO_TEST_F(NeoRadosWatchNotifyPoll, WatchNotify, NeoRadosTest) { static constexpr auto oid = "obj"sv; co_await create_obj(oid); - auto handle = co_await rados().watch(oid, pool(), asio::use_awaitable); + auto handle = co_await rados().watch(oid, pool(), asio::use_awaitable, 300s); EXPECT_TRUE(rados().check_watch(handle)); std::vector watchers; co_await execute(oid, ReadOp{}.list_watchers(&watchers)); @@ -183,7 +183,7 @@ CORO_TEST_F(NeoRadosWatchNotifyPoll, WatchNotify, NeoRadosTest) { auto notify = [](neorados::RADOS& r, neorados::IOContext ioc) -> asio::awaitable { auto [reply_map, missed_set] - = co_await r.notify(oid, ioc, {}, {}, asio::use_awaitable); + = co_await r.notify(oid, ioc, {}, 300s, asio::use_awaitable); EXPECT_EQ(1u, reply_map.size()); EXPECT_EQ(5u, reply_map.begin()->second.length());