List:Commits« Previous MessageNext Message »
From:jonas Date:May 31 2006 6:18am
Subject:bk commit into 5.1 tree (jonas:1.2377)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas 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
  1.2377 06/05/31 08:18:27 jonas@stripped +1 -0
  ndb -
    fix testNodeRestart -n Bug18612 when running with only 1 node group

  storage/ndb/test/ndbapi/testNodeRestart.cpp
    1.26 06/05/31 08:18:24 jonas@stripped +4 -1
    This test needs 2 node groups.

# 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:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/51-jonas

--- 1.25/storage/ndb/test/ndbapi/testNodeRestart.cpp	2006-04-06 12:24:09 +02:00
+++ 1.26/storage/ndb/test/ndbapi/testNodeRestart.cpp	2006-05-31 08:18:24 +02:00
@@ -696,7 +696,10 @@
       do { 
 	int tmp = restarter.getRandomNodeOtherNodeGroup(node1, rand());
 	if (tmp == -1)
-	  break;
+	{
+	  ctx->stopTest();
+	  return NDBT_OK;
+	}
 	node1 = tmp;
       } while(nodesmask.get(node1));
       
Thread
bk commit into 5.1 tree (jonas:1.2377)jonas1 Jun