ndb -

  fix testNodeRestart -n Bug18612 when running with only 1 node group
parent 9ca7dd62
...@@ -696,7 +696,10 @@ runBug18612(NDBT_Context* ctx, NDBT_Step* step){ ...@@ -696,7 +696,10 @@ runBug18612(NDBT_Context* ctx, NDBT_Step* step){
do { do {
int tmp = restarter.getRandomNodeOtherNodeGroup(node1, rand()); int tmp = restarter.getRandomNodeOtherNodeGroup(node1, rand());
if (tmp == -1) if (tmp == -1)
break; {
ctx->stopTest();
return NDBT_OK;
}
node1 = tmp; node1 = tmp;
} while(nodesmask.get(node1)); } 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