]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_rados_api_watch_notify: wait longer for watch timeout 3779/head
authorSage Weil <sage@redhat.com>
Mon, 23 Feb 2015 22:46:16 +0000 (14:46 -0800)
committerSage Weil <sage@redhat.com>
Mon, 23 Feb 2015 22:46:16 +0000 (14:46 -0800)
OSD thrashing can delay this indefinitely; longer delay means lower
probability of that happening.

Signed-off-by: Sage Weil <sage@redhat.com>
src/test/librados/watch_notify.cc

index 9a55144632c5365939a5d6ab26492818b8500b8b..1d585e8bb6d71df433416e6114909e265df2ff1d 100644 (file)
@@ -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) {