From a9bfd5ddda012b7afdaed36eeb7e52db0318255e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 23 Feb 2015 14:46:16 -0800 Subject: [PATCH] ceph_test_rados_api_watch_notify: wait longer for watch timeout OSD thrashing can delay this indefinitely; longer delay means lower probability of that happening. 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 9a55144632c53..1d585e8bb6d71 100644 --- a/src/test/librados/watch_notify.cc +++ b/src/test/librados/watch_notify.cc @@ -265,7 +265,7 @@ TEST_F(LibRadosWatchNotify, Watch2Timeout) { ASSERT_LT(age, age_bound * 1000); ASSERT_GT(age, 0); rados_conf_set(cluster, "objecter_inject_no_watch_ping", "true"); - int left = 300; + int left = 900; std::cout << "waiting up to " << left << " for osd to time us out ..." << std::endl; while (notify_err == 0 && --left) { -- 2.39.5