=== modified file 'storage/ndb/test/src/NdbRestarter.cpp' --- storage/ndb/test/src/NdbRestarter.cpp 2013-02-26 06:21:48 +0000 +++ storage/ndb/test/src/NdbRestarter.cpp 2013-07-13 02:32:02 +0000 @@ -426,9 +426,11 @@ for (int i = 0; i < _num_nodes; i++){ ndb_mgm_node_state* ndbNode = NULL; - for (unsigned n = 0; n < ndbNodes.size(); n++){ - if (ndbNodes[n].node_id == _nodes[i]) + for (unsigned n = ndbNodes.size() - 1; n >= 0; n--){ + if (ndbNodes[n].node_id == _nodes[i]) { ndbNode = &ndbNodes[n]; + break; + } } if(ndbNode == NULL){