Commit 8883ccf1 authored by joreland@mysql.com's avatar joreland@mysql.com

Fix so that testBackup wait until start has finished before

starting to restore
parent f3c0441d
...@@ -149,6 +149,9 @@ int runRestartInitial(NDBT_Context* ctx, NDBT_Step* step){ ...@@ -149,6 +149,9 @@ int runRestartInitial(NDBT_Context* ctx, NDBT_Step* step){
if (restarter.restartAll(true) != 0) if (restarter.restartAll(true) != 0)
return NDBT_FAILED; return NDBT_FAILED;
if (restarter.waitClusterStarted() != 0)
return NDBT_FAILED;
return NDBT_OK; return NDBT_OK;
} }
...@@ -413,7 +416,6 @@ TESTCASE("BackupOne", ...@@ -413,7 +416,6 @@ TESTCASE("BackupOne",
INITIALIZER(runRestoreOne); INITIALIZER(runRestoreOne);
VERIFIER(runVerifyOne); VERIFIER(runVerifyOne);
FINALIZER(runClearTable); FINALIZER(runClearTable);
FINALIZER(runDropTable);
} }
TESTCASE("BackupBank", TESTCASE("BackupBank",
"Test that backup and restore works during transaction load\n" "Test that backup and restore works during transaction load\n"
......
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