List:Commits« Previous MessageNext Message »
From:Alexander Nozdrin Date:September 8 2006 12:41pm
Subject:bk commit into 5.0 tree (anozdrin:1.2262) BUG#22074
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of alik. When alik does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-09-08 16:41:35+04:00, anozdrin@alik. +1 -0
  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.

  mysql-test/mysql-test-run.pl@stripped, 2006-09-08 16:41:33+04:00, anozdrin@alik. +4 -1
    Report IM-test as failed if IM failed to start.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	anozdrin
# Host:	alik.
# Root:	/mnt/raid/alik/MySQL/devel/5.0-rt-im

--- 1.113/mysql-test/mysql-test-run.pl	2006-09-08 16:41:38 +04:00
+++ 1.114/mysql-test/mysql-test-run.pl	2006-09-08 16:41:38 +04:00
@@ -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;
       }
     }
 
Thread
bk commit into 5.0 tree (anozdrin:1.2262) BUG#22074Alexander Nozdrin8 Sep