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
8f3f4425
Commit
8f3f4425
authored
Dec 11, 2012
by
sayantan.dutta@oracle.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #14737171: MTR DOES NOT PRESERVE TEST CASE LOGS ON RETRY-FAIL
parent
295ad743
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+2
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
8f3f4425
...
@@ -616,6 +616,8 @@ sub run_test_server ($$$) {
...
@@ -616,6 +616,8 @@ sub run_test_server ($$$) {
else
{
else
{
mtr_report
("
\n
Retrying test
$tname
,
"
.
mtr_report
("
\n
Retrying test
$tname
,
"
.
"
attempt(
$retries
/
$opt_retry
)...
\n
");
"
attempt(
$retries
/
$opt_retry
)...
\n
");
my
$log_file_name
=
$opt_vardir
.
"
/log/
"
.
$result
->
{
shortname
}
.
"
.log
";
rename
$log_file_name
,
$log_file_name
.
"
.failed
";
delete
(
$result
->
{
result
});
delete
(
$result
->
{
result
});
$result
->
{
retries
}
=
$retries
+
1
;
$result
->
{
retries
}
=
$retries
+
1
;
$result
->
write_test
(
$sock
,
'
TESTCASE
');
$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