Skip to content

Commit

Permalink
remove case XtraBackup, MySQLShell
Browse files Browse the repository at this point in the history
Signed-off-by: Renan Rangel <rrangel@slack-corp.com>
  • Loading branch information
rvrangel committed Aug 21, 2024
1 parent 82a288c commit d9407f2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions go/test/endtoend/backup/vtctlbackup/backup_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,6 @@ func verifyTabletBackupStats(t *testing.T, vars map[string]any) {
if backupstorage.BackupStorageImplementation == "file" {
require.Contains(t, bb, "BackupStorage.File.File:Write")
}
case XtraBackup, MySQLShell:
}

require.Contains(t, vars, "BackupCount")
Expand All @@ -1386,7 +1385,6 @@ func verifyTabletBackupStats(t *testing.T, vars map[string]any) {
require.Contains(t, bc, "BackupEngine.Builtin.Destination:Open")
require.Contains(t, bc, "BackupEngine.Builtin.Source:Close")
require.Contains(t, bc, "BackupEngine.Builtin.Source:Open")
case XtraBackup, MySQLShell:
}

require.Contains(t, vars, "BackupDurationNanoseconds")
Expand All @@ -1404,7 +1402,6 @@ func verifyTabletBackupStats(t *testing.T, vars map[string]any) {
require.Contains(t, bd, "BackupEngine.Builtin.Source:Close")
require.Contains(t, bd, "BackupEngine.Builtin.Source:Open")
require.Contains(t, bd, "BackupEngine.Builtin.Source:Read")
case XtraBackup, MySQLShell:
}

if backupstorage.BackupStorageImplementation == "file" {
Expand Down Expand Up @@ -1439,7 +1436,6 @@ func verifyTabletRestoreStats(t *testing.T, vars map[string]any) {
require.Contains(t, bb, "BackupEngine.Builtin.Destination:Write")
require.Contains(t, bb, "BackupEngine.Builtin.Source:Read")
require.Contains(t, bb, "BackupStorage.File.File:Read")
case XtraBackup, MySQLShell:
}

require.Contains(t, vars, "RestoreCount")
Expand All @@ -1454,7 +1450,6 @@ func verifyTabletRestoreStats(t *testing.T, vars map[string]any) {
require.Contains(t, bc, "BackupEngine.Builtin.Destination:Open")
require.Contains(t, bc, "BackupEngine.Builtin.Source:Close")
require.Contains(t, bc, "BackupEngine.Builtin.Source:Open")
case XtraBackup, MySQLShell:
}

require.Contains(t, vars, "RestoreDurationNanoseconds")
Expand All @@ -1472,7 +1467,6 @@ func verifyTabletRestoreStats(t *testing.T, vars map[string]any) {
require.Contains(t, bd, "BackupEngine.Builtin.Source:Close")
require.Contains(t, bd, "BackupEngine.Builtin.Source:Open")
require.Contains(t, bd, "BackupEngine.Builtin.Source:Read")
case XtraBackup, MySQLShell:
}

require.Contains(t, bd, "BackupStorage.File.File:Read")
Expand Down

0 comments on commit d9407f2

Please sign in to comment.