]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librados: increase timeout in wait_for_healthy 6405/head
authorJohn Spray <john.spray@redhat.com>
Fri, 4 Dec 2015 17:32:11 +0000 (17:32 +0000)
committerJohn Spray <john.spray@redhat.com>
Fri, 4 Dec 2015 17:33:22 +0000 (17:33 +0000)
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 <john.spray@redhat.com>
src/test/librados/test.cc

index 34079ea8b5945fbd9a4dd5ccb2b3282bb026bd73..488b35c0b7f994ce16773b8102d64426ae0acfe3 100644 (file)
@@ -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) {