mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
Fix so that testBackup wait until start has finished before
starting to restore
This commit is contained in:
parent
71ead01316
commit
22db858b50
1 changed files with 3 additions and 1 deletions
|
@ -149,6 +149,9 @@ int runRestartInitial(NDBT_Context* ctx, NDBT_Step* step){
|
|||
if (restarter.restartAll(true) != 0)
|
||||
return NDBT_FAILED;
|
||||
|
||||
if (restarter.waitClusterStarted() != 0)
|
||||
return NDBT_FAILED;
|
||||
|
||||
return NDBT_OK;
|
||||
}
|
||||
|
||||
|
@ -413,7 +416,6 @@ TESTCASE("BackupOne",
|
|||
INITIALIZER(runRestoreOne);
|
||||
VERIFIER(runVerifyOne);
|
||||
FINALIZER(runClearTable);
|
||||
FINALIZER(runDropTable);
|
||||
}
|
||||
TESTCASE("BackupBank",
|
||||
"Test that backup and restore works during transaction load\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue