From 534bd2b521a47a794091092d37944da0b38c21ea Mon Sep 17 00:00:00 2001 From: John Spray Date: Fri, 4 Dec 2015 17:32:11 +0000 Subject: [PATCH] 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 --- src/test/librados/test.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.47.3