From 6de19f8683f0302b0311af287c0f85c3270dafb5 Mon Sep 17 00:00:00 2001 From: Leif Walsh Date: Wed, 17 Apr 2013 00:01:17 -0400 Subject: [PATCH] refs #5671 increase default alarm time for stress tests git-svn-id: file:///svn/toku/tokudb@50068 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/tests/threaded_stress_test_helpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/threaded_stress_test_helpers.h b/src/tests/threaded_stress_test_helpers.h index 5b1ac977a82..37fcd827d10 100644 --- a/src/tests/threaded_stress_test_helpers.h +++ b/src/tests/threaded_stress_test_helpers.h @@ -1534,8 +1534,8 @@ static int run_workers( r = toku_pthread_join(time_tid, &ret); assert_zero(r); if (verbose) printf("%lu joined\n", (unsigned long) time_tid); // Set an alarm that will kill us if it takes too long to join all the - // threads (i.e. there is some runaway thread). - unsigned int remaining = alarm((num_seconds / 10 < 30) ? 30 : num_seconds / 10); + // threads (i.e. there is some runaway thread). Give ten minutes to start. + unsigned int remaining = alarm((num_seconds / 10 < 600) ? 600 : num_seconds / 10); assert_zero(remaining); for (int i = 0; i < num_threads; ++i) { r = toku_pthread_join(tids[i], &ret); assert_zero(r);