Commit 10d30486 authored by joreland@mysql.com's avatar joreland@mysql.com

testBackup

parent c259c02e
......@@ -2420,7 +2420,17 @@ void
MgmtSrvr::backupCallback(BackupEvent & event)
{
m_lastBackupEvent = event;
theWaitState = NO_WAIT;
switch(event.Event){
case BackupEvent::BackupFailedToStart:
case BackupEvent::BackupAborted:
case BackupEvent::BackupCompleted:
theWaitState = NO_WAIT;
break;
case BackupEvent::BackupStarted:
if(theWaitState == WAIT_BACKUP_STARTED)
theWaitState = NO_WAIT;
}
return;
}
......
......@@ -27,7 +27,7 @@ cmd: atrt-testBackup
args: -n BackupOne T1 T6 T3 I3
max-time: 1000
cmd: testBackup
cmd: atrt-testBackup
args: -n BackupBank T6
#
......
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