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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3b0b4e61
Commit
3b0b4e61
authored
Jan 24, 2021
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: remove dead code in mtr
parent
c4f01334
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-13
No files found.
mysql-test/mysql-test-run.pl
View file @
3b0b4e61
...
...
@@ -48,9 +48,7 @@ BEGIN {
"
Could not find the lib/ directory
\n
";
exit
(
1
);
}
}
BEGIN
{
# Check backward compatibility support
# By setting the environment variable MTR_VERSION
# it's possible to use a previous version of
...
...
@@ -338,17 +336,7 @@ my %mysqld_logs;
my
$opt_debug_sync_timeout
=
300
;
# Default timeout for WAIT_FOR actions.
my
$warn_seconds
=
60
;
sub
testcase_timeout
($)
{
my
(
$tinfo
)
=
@_
;
if
(
exists
$tinfo
->
{'
case-timeout
'})
{
# Return test specific timeout if *longer* that the general timeout
my
$test_to
=
$tinfo
->
{'
case-timeout
'};
$test_to
*=
10
if
$opt_valgrind
;
return
$test_to
*
60
if
$test_to
>
$opt_testcase_timeout
;
}
return
$opt_testcase_timeout
*
60
;
}
sub
testcase_timeout
($)
{
return
$opt_testcase_timeout
*
60
;
}
sub
check_timeout
($)
{
return
testcase_timeout
(
$_
[
0
]);
}
our
$opt_warnings
=
1
;
...
...
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