From af60ccdac2baa6f7545d3db1adb60cc2109cd91d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 28 Oct 2021 10:06:34 -0400 Subject: [PATCH] ceph_test_rados_api_watch_notify: extend Watch3Timeout test Make this test try harder, since osd peering may interfere with a timeout. Fixes: https://tracker.ceph.com/issues/24990 Signed-off-by: Sage Weil --- src/test/librados/watch_notify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/librados/watch_notify.cc b/src/test/librados/watch_notify.cc index e5ea22744a0..3797e37c583 100644 --- a/src/test/librados/watch_notify.cc +++ b/src/test/librados/watch_notify.cc @@ -493,7 +493,7 @@ TEST_F(LibRadosWatchNotify, Watch3Timeout) { rados_conf_set(cluster, "objecter_inject_no_watch_ping", "true"); // allow a long time here since an osd peering event will renew our // watch. - int left = 16 * timeout; + int left = 256 * timeout; std::cout << "waiting up to " << left << " for osd to time us out ..." << std::endl; while (notify_err == 0 && --left) { -- 2.39.5