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
86ac70f7
Commit
86ac70f7
authored
May 04, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve retry logic
parent
b4b0fcee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-3
No files found.
mysql-test/mysql-test-run.pl
View file @
86ac70f7
...
...
@@ -465,14 +465,14 @@ sub run_test_server {
}
# Retry test run after test failure
my
$retries
=
$result
->
{
retries
}
||
1
;
my
$retries
=
$result
->
{
retries
}
||
2
;
my
$test_has_failed
=
$result
->
{
failures
}
||
0
;
if
(
$test_has_failed
and
$retries
<
$opt_retry
){
if
(
$test_has_failed
and
$retries
<
=
$opt_retry
){
# Test should be run one more time unless it has failed
# too many times already
my
$failures
=
$result
->
{
failures
};
if
(
$opt_retry
>
1
and
$failures
>=
$opt_retry_failure
){
mtr_report
("
Test has failed
$failures
times,
",
mtr_report
("
\n
Test has failed
$failures
times,
",
"
no more retries!
\n
");
}
else
{
...
...
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