Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report artificial failure before mtr exits
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5086,6 +5086,16 @@ ($$) | |
$opt_start_timeout, $mysqld->{'proc'}, $warn_seconds)) | ||
{ | ||
my $mname= $mysqld->name(); | ||
mtr_report("Ovdje sam"); | ||
This comment has been minimized.
Sorry, something went wrong.
an3l
Author
Contributor
|
||
mtr_report($path_current_testlog); | ||
# Report failure about the last test case before exit | ||
my $test_name= mtr_grab_file($path_current_testlog); | ||
mtr_report("Ovdje sam"); | ||
$test_name =~ s/^CURRENT_TEST:\s//; | ||
my $tinfo = My::Test->new(name => $test_name); | ||
$tinfo->{result}= 'MTR_RES_FAILED'; | ||
$tinfo->{logfile}=$path_current_testlog; | ||
mtr_report_test($tinfo); | ||
This comment has been minimized.
Sorry, something went wrong.
an3l
Author
Contributor
|
||
mtr_error("Failed to start mysqld $mname with command $exe"); | ||
} | ||
|
||
|
Note to wlad:
Have noted on windows,when using git rebase (where my default editor is vim, which doesn't exit there) stackdump is created: