summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorBjorn Munch <Bjorn.Munch@sun.com>2009-08-11 15:59:05 +0200
committerBjorn Munch <Bjorn.Munch@sun.com>2009-08-11 15:59:05 +0200
commit1d99f9eae5f24b0c60872041ea960985386c4371 (patch)
tree1f0130220c77a2d224ae7ba0fbd869254137b6ff /mysql-test/mysql-test-run.pl
parent013717d110af5d94eab703567ef72744c0d174e4 (diff)
downloadmariadb-git-1d99f9eae5f24b0c60872041ea960985386c4371.tar.gz
Bug #45847 make --gdb disable all the timeouts by default
Set to one week for testcase and suite timeout Also set one day timeout for PID file creation (not currently needed in 5.1 but might become, and is needed in azalea)
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 06f02afaf5b..6a2e84d9c78 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -1241,6 +1241,13 @@ sub command_line_setup {
{
mtr_error("Can't use --extern when using debugger");
}
+ # Set one week timeout (check-testcase timeout will be 1/10th)
+ $opt_testcase_timeout= 7 * 24 * 60;
+ $opt_suite_timeout= 7 * 24 * 60;
+ # One day to shutdown
+ $opt_shutdown_timeout= 24 * 60;
+ # One day for PID file creation (this is given in seconds not minutes)
+ $opt_start_timeout= 24 * 60 * 60;
}
# --------------------------------------------------------------------------