]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
tests: be more generous with test timeout
authorLoic Dachary <ldachary@redhat.com>
Wed, 6 Apr 2016 13:39:23 +0000 (15:39 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 6 Apr 2016 13:39:23 +0000 (15:39 +0200)
When the thrasher is in action together with a validater (lockdep or
valgrind), a single test may hang for more than 360 seconds. Increase to
1200: it does not matter if the value is large, only that it prevents
the test from hanging forever.

Fixes: http://tracker.ceph.com/issues/15403
Signed-off-by: Loic Dachary <loic@dachary.org>
src/test/librados/test.h

index 1d13d8103a60f017fa65b506465889a3c5f83360..28f5a851c3f2ac32dd01f27a4d4b8fd5443d0cd5 100644 (file)
@@ -48,7 +48,7 @@ class TestAlarm
 {
 public:
   TestAlarm() {
-    alarm(360);
+    alarm(1200);
   }
   ~TestAlarm() {
     alarm(0);