Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
235e7b8f
Commit
235e7b8f
authored
Jan 28, 2010
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge 49210
parent
e8a05b41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
mysql-test/lib/v1/mysql-test-run.pl
mysql-test/lib/v1/mysql-test-run.pl
+4
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+4
-4
No files found.
mysql-test/lib/v1/mysql-test-run.pl
View file @
235e7b8f
...
@@ -1107,14 +1107,16 @@ sub command_line_setup () {
...
@@ -1107,14 +1107,16 @@ sub command_line_setup () {
if
(
!
$opt_testcase_timeout
)
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
;
$opt_testcase_timeout
*=
10
if
$opt_valgrind
;
$opt_testcase_timeout
*=
10
if
(
$opt_debug
and
$glob_win32
);
$opt_testcase_timeout
*=
10
if
(
$opt_debug
and
$glob_win32
);
}
}
if
(
!
$opt_suite_timeout
)
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
;
$opt_suite_timeout
*=
6
if
$opt_valgrind
;
$opt_suite_timeout
*=
6
if
(
$opt_debug
and
$glob_win32
);
$opt_suite_timeout
*=
6
if
(
$opt_debug
and
$glob_win32
);
}
}
...
...
mysql-test/mysql-test-run.pl
View file @
235e7b8f
...
@@ -206,10 +206,10 @@ my $opt_mark_progress;
...
@@ -206,10 +206,10 @@ my $opt_mark_progress;
my
$opt_sleep
;
my
$opt_sleep
;
my
$opt_testcase_timeout
=
15
;
# minutes
my
$opt_testcase_timeout
=
$ENV
{
MTR_TESTCASE_TIMEOUT
}
||
15
;
# minutes
my
$opt_suite_timeout
=
300
;
# minutes
my
$opt_suite_timeout
=
$ENV
{
MTR_SUITE_TIMEOUT
}
||
300
;
# minutes
my
$opt_shutdown_timeout
=
10
;
# seconds
my
$opt_shutdown_timeout
=
$ENV
{
MTR_SHUTDOWN_TIMEOUT
}
||
10
;
# seconds
my
$opt_start_timeout
=
180
;
# seconds
my
$opt_start_timeout
=
$ENV
{
MTR_START_TIMEOUT
}
||
180
;
# seconds
sub
testcase_timeout
{
return
$opt_testcase_timeout
*
60
;
};
sub
testcase_timeout
{
return
$opt_testcase_timeout
*
60
;
};
sub
suite_timeout
{
return
$opt_suite_timeout
*
60
;
};
sub
suite_timeout
{
return
$opt_suite_timeout
*
60
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment