]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: increase the delay waiting for a cluster event 3907/head
authorLoic Dachary <ldachary@redhat.com>
Mon, 9 Mar 2015 11:56:31 +0000 (12:56 +0100)
committerLoic Dachary <ldachary@redhat.com>
Mon, 9 Mar 2015 12:00:37 +0000 (13:00 +0100)
In some cases the machine running tests may be slow enough that it takes
more than a minute for an OSD to come up. It only happens rarely and
changing the wait period from 60 seconds to 120 seconds. Is so slow
that it takes more than 2 minutes to bring an OSD up, chances are a lot
more will go wrong anyway.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph-helpers.sh

index 6c0f88660fca6aa6d24ab096d53f32b9d588a598..5224241feb3e0413a4e76ee2a9118a4a3ffedcd8 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 #
 # Copyright (C) 2013,2014 Cloudwatt <libre.licensing@cloudwatt.com>
-# Copyright (C) 2014 Red Hat <contact@redhat.com>
+# Copyright (C) 2014,2015 Red Hat <contact@redhat.com>
 # Copyright (C) 2014 Federico Gimenez <fgimenez@coit.es>
 #
 # Author: Loic Dachary <loic@dachary.org>
@@ -18,7 +18,7 @@
 # GNU Library Public License for more details.
 #
 CEPH_HELPER_VERBOSE=false
-TIMEOUT=60
+TIMEOUT=120
 PG_NUM=4
 
 if type xmlstarlet > /dev/null 2>&1; then