Commit 9ed1d412 authored by unknown's avatar unknown

ndb -

  fix testNodeRestart -n Bug18612 when running with only 1 node group


storage/ndb/test/ndbapi/testNodeRestart.cpp:
  This test needs 2 node groups.
parent b0add081
......@@ -696,7 +696,10 @@ runBug18612(NDBT_Context* ctx, NDBT_Step* step){
do {
int tmp = restarter.getRandomNodeOtherNodeGroup(node1, rand());
if (tmp == -1)
break;
{
ctx->stopTest();
return NDBT_OK;
}
node1 = tmp;
} while(nodesmask.get(node1));
......
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