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=534bd2b521a47a794091092d37944da0b38c21ea;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 34079ea8b594..488b35c0b7f9 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) {