mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
Bug #49210 Enable MTR timeout configuration through environment variables
Define env. vars for both timeout settings This patch is for 5.0 (mtr v1) and should replaces for 5.1 up
This commit is contained in:
parent
694d50c71e
commit
b13ed2975d
1 changed files with 4 additions and 2 deletions
|
|
@ -1077,13 +1077,15 @@ sub command_line_setup () {
|
|||
|
||||
if ( ! $opt_testcase_timeout )
|
||||
{
|
||||
$opt_testcase_timeout= $default_testcase_timeout;
|
||||
$opt_testcase_timeout=
|
||||
$ENV{MTR_TESTCASE_TIMEOUT} || $default_testcase_timeout;
|
||||
$opt_testcase_timeout*= 10 if $opt_valgrind;
|
||||
}
|
||||
|
||||
if ( ! $opt_suite_timeout )
|
||||
{
|
||||
$opt_suite_timeout= $default_suite_timeout;
|
||||
$opt_suite_timeout=
|
||||
$ENV{MTR_SUITE_TIMEOUT} || $default_suite_timeout;
|
||||
$opt_suite_timeout*= 6 if $opt_valgrind;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue