4758 jonas oreland 2011-12-20
ndb - adopt some testSystemRestart tests to slower machines
modified:
storage/ndb/test/ndbapi/testSystemRestart.cpp
4757 Jonas Oreland 2011-12-19
ndb - remove c_ssIdSeq as concept
use position in array instead (which removes theoretical possibility of
duplicate ssId's)
modified:
storage/ndb/src/kernel/blocks/LocalProxy.cpp
storage/ndb/src/kernel/blocks/LocalProxy.hpp
=== modified file 'storage/ndb/test/ndbapi/testSystemRestart.cpp'
--- a/storage/ndb/test/ndbapi/testSystemRestart.cpp 2011-07-04 13:37:56 +0000
+++ b/storage/ndb/test/ndbapi/testSystemRestart.cpp 2011-12-20 08:42:46 +0000
@@ -1405,6 +1405,8 @@ int runSR_DD_1(NDBT_Context* ctx, NDBT_S
HugoTransactions hugoTrans(*ctx->getTab());
while(i<=loops && result != NDBT_FAILED)
{
+ if (i > 0 && ctx->closeToTimeout(15))
+ break;
if (lcploop)
{
@@ -1508,6 +1510,8 @@ int runSR_DD_2(NDBT_Context* ctx, NDBT_S
HugoTransactions hugoTrans(*ctx->getTab());
while(i<=loops && result != NDBT_FAILED)
{
+ if (i > 0 && ctx->closeToTimeout(15))
+ break;
if (lcploop)
{
@@ -1612,6 +1616,8 @@ int runSR_DD_3(NDBT_Context* ctx, NDBT_S
HugoTransactions hugoTrans(*ctx->getTab());
while(i<=loops && result != NDBT_FAILED)
{
+ if (i > 0 && ctx->closeToTimeout(15))
+ break;
if (lcploop)
{
@@ -1853,6 +1859,9 @@ runTO(NDBT_Context* ctx, NDBT_Step* step
Uint32 i = 0;
while(i<=loops && result != NDBT_FAILED)
{
+ if (i > 0 && ctx->closeToTimeout(35))
+ break;
+
CHECK(res.dumpStateAllNodes(val, 1) == 0);
int filter[] = { 15, NDB_MGM_EVENT_CATEGORY_CHECKPOINT, 0 };
No bundle (reason: useless for push emails).
| Thread |
|---|
| • bzr push into mysql-5.1-telco-7.0 branch (jonas.oreland:4757 to 4758) | jonas oreland | 20 Dec |