mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ndb - autotest
Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert() Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args) ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args) ndb/test/ndbapi/testNodeRestart.cpp: Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args) ndb/test/src/NdbBackup.cpp: Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args) ndb/test/src/NdbRestarts.cpp: Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args)
This commit is contained in:
@ -433,6 +433,11 @@ int runBug15587(NDBT_Context* ctx, NDBT_Step* step){
|
||||
if (restarter.waitNodesNoStart(&nodeId, 1))
|
||||
return NDBT_FAILED;
|
||||
|
||||
int val2[] = { DumpStateOrd::CmvmiSetRestartOnErrorInsert, 1 };
|
||||
|
||||
if (restarter.dumpStateOneNode(nodeId, val2, 2))
|
||||
return NDBT_FAILED;
|
||||
|
||||
if (restarter.dumpStateOneNode(nodeId, dump, 2))
|
||||
return NDBT_FAILED;
|
||||
|
||||
@ -444,6 +449,9 @@ int runBug15587(NDBT_Context* ctx, NDBT_Step* step){
|
||||
if (restarter.waitNodesNoStart(&nodeId, 1))
|
||||
return NDBT_FAILED;
|
||||
|
||||
if (restarter.dumpStateOneNode(nodeId, val2, 1))
|
||||
return NDBT_FAILED;
|
||||
|
||||
if (restarter.startNodes(&nodeId, 1))
|
||||
return NDBT_FAILED;
|
||||
|
||||
@ -626,6 +634,10 @@ runBug18414(NDBT_Context* ctx, NDBT_Step* step){
|
||||
goto err;
|
||||
}
|
||||
|
||||
int val2[] = { DumpStateOrd::CmvmiSetRestartOnErrorInsert, 1 };
|
||||
if (restarter.dumpStateOneNode(node2, val2, 2))
|
||||
goto err;
|
||||
|
||||
if (restarter.insertErrorInNode(node2, 5003))
|
||||
goto err;
|
||||
|
||||
|
Reference in New Issue
Block a user