Commit c9e76d51 authored by anozdrin/alik@alik's avatar anozdrin/alik@alik

Fix for BUG#22074: mysql-test-run.pl abort test run if it fails

to start instance manager.

The problem was that if IM failed to start, test suite aborts.

The fix is to mark current test as failed, and continue running
test suite.

The fix affects only test suite.
parent f564e7f8
......@@ -2114,7 +2114,10 @@ sub run_testcase ($) {
unless ( mtr_im_start($instance_manager, $tinfo->{im_opts}) )
{
mtr_error("Failed to start Instance Manager.")
report_failure_and_restart($tinfo);
mtr_report("Failed to start Instance Manager. " .
"The test '$tname' is marked as failed.");
return;
}
}
......
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