]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_rados_api_watch_notify: extend Watch3Timeout test 43700/head
authorSage Weil <sage@newdream.net>
Thu, 28 Oct 2021 14:06:34 +0000 (10:06 -0400)
committerSage Weil <sage@newdream.net>
Thu, 28 Oct 2021 14:06:34 +0000 (10:06 -0400)
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 <sage@newdream.net>
src/test/librados/watch_notify.cc

index e5ea22744a04395d799340141e361ea42788b8ab..3797e37c58300acc414f24bbb0181e639482fb1f 100644 (file)
@@ -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) {