From 22db858b5057e90ba80f49f9503c9b7884d478cb Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 22 Sep 2004 09:27:34 +0200 Subject: [PATCH] Fix so that testBackup wait until start has finished before starting to restore --- ndb/test/ndbapi/testBackup.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ndb/test/ndbapi/testBackup.cpp b/ndb/test/ndbapi/testBackup.cpp index 509cd4780bf..77b9d0a4baa 100644 --- a/ndb/test/ndbapi/testBackup.cpp +++ b/ndb/test/ndbapi/testBackup.cpp @@ -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"