Commit f3c93b0f authored by unknown's avatar unknown

Don't complain in the error log about IM shutdown unless

BUG#20761 is fixed.
parent 3ee35057
...@@ -2968,17 +2968,24 @@ sub im_stop($) { ...@@ -2968,17 +2968,24 @@ sub im_stop($) {
mtr_kill_processes(\@mysqld_pids); mtr_kill_processes(\@mysqld_pids);
# Complain in error log so that a warning will be shown. # Complain in error log so that a warning will be shown.
#
my $errlog= "$opt_vardir/log/mysql-test-run.pl.err"; # TODO: unless BUG#20761 is fixed, we will print the warning
# to stdout, so that it can be seen on console and does not
open (ERRLOG, ">>$errlog") || # produce pushbuild error.
mtr_error("Can not open error log ($errlog)");
# my $errlog= "$opt_vardir/log/mysql-test-run.pl.err";
#
# open (ERRLOG, ">>$errlog") ||
# mtr_error("Can not open error log ($errlog)");
#
# my $ts= localtime();
# print ERRLOG
# "Warning: [$ts] Instance Manager did not shutdown gracefully.\n";
#
# close ERRLOG;
my $ts= localtime(); my $ts= localtime();
print ERRLOG print "Warning: [$ts] Instance Manager did not shutdown gracefully.\n";
"Warning: [$ts] Instance Manager did not shutdown gracefully.\n";
close ERRLOG;
} }
# That's all. # That's all.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment