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
66eb0c6e
Commit
66eb0c6e
authored
Feb 04, 2013
by
sayantan.dutta@oracle.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #16190704: MTR STILL LOSES THE FAILED RUN LOGS AT RETRY-FAIL
parent
2993c299
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+5
-3
No files found.
mysql-test/mysql-test-run.pl
View file @
66eb0c6e
...
...
@@ -617,9 +617,11 @@ sub run_test_server ($$$) {
mtr_report
("
\n
Retrying test
$tname
,
"
.
"
attempt(
$retries
/
$opt_retry
)...
\n
");
#saving the log file as filename.failed in case of retry
my
$worker_logdir
=
$result
->
{
savedir
};
my
$log_file_name
=
dirname
(
$worker_logdir
)
.
"
/
"
.
$result
->
{
shortname
}
.
"
.log
";
rename
$log_file_name
,
$log_file_name
.
"
.failed
";
if
(
$result
->
is_failed
()
)
{
my
$worker_logdir
=
$result
->
{
savedir
};
my
$log_file_name
=
dirname
(
$worker_logdir
)
.
"
/
"
.
$result
->
{
shortname
}
.
"
.log
";
rename
$log_file_name
,
$log_file_name
.
"
.failed
";
}
delete
(
$result
->
{
result
});
$result
->
{
retries
}
=
$retries
+
1
;
$result
->
write_test
(
$sock
,
'
TESTCASE
');
...
...
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