From af89474b3fb2c4aa63680aa6b30d71fad2fdd373 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 6 Apr 2016 15:39:23 +0200 Subject: [PATCH] tests: be more generous with test timeout 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 --- src/test/librados/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/librados/test.h b/src/test/librados/test.h index 1d13d8103a60f..28f5a851c3f2a 100644 --- a/src/test/librados/test.h +++ b/src/test/librados/test.h @@ -48,7 +48,7 @@ class TestAlarm { public: TestAlarm() { - alarm(360); + alarm(1200); } ~TestAlarm() { alarm(0); -- 2.39.5