From: John Spray Date: Fri, 4 Dec 2015 17:32:11 +0000 (+0000) Subject: test/librados: increase timeout in wait_for_healthy X-Git-Tag: v10.0.3~215^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6405%2Fhead;p=ceph.git test/librados: increase timeout in wait_for_healthy I set this with unperturbed vstart clusters in mind. The tests are sometimes run with thrashers enabled, so things might take much longer to advance. Signed-off-by: John Spray --- diff --git a/src/test/librados/test.cc b/src/test/librados/test.cc index 34079ea8b59..488b35c0b7f 100644 --- a/src/test/librados/test.cc +++ b/src/test/librados/test.cc @@ -38,7 +38,9 @@ std::string get_temp_pool_name() int wait_for_healthy(rados_t *cluster) { bool healthy = false; - int timeout = 30; + // This timeout is very long because the tests are sometimes + // run on a thrashing cluster + int timeout = 3600; int slept = 0; while(!healthy) {