Skip to content

Commit

Permalink
Removing un-necessary test
Browse files Browse the repository at this point in the history
Signed-off-by: Rameez Sajwani <[email protected]>
  • Loading branch information
rsajwani committed Jun 28, 2022
1 parent 46fde1d commit a2d96fa
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions go/test/endtoend/backup/xtrabackup/xtrabackup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ package vtctlbackup
import (
"testing"

"github.com/stretchr/testify/require"

backup "vitess.io/vitess/go/test/endtoend/backup/vtctlbackup"
)

Expand All @@ -46,13 +44,3 @@ func TestBackupMainWithZstdCompression(t *testing.T) {

backup.TestBackup(t, backup.XtraBackup, "tar", 0, cDetails, []string{"TestReplicaBackup"})
}

func TestBackupMainWithError(t *testing.T) {
cDetails := &backup.CompressionDetails{
BuiltinCompressor: "pargzip",
BuiltinDecompressor: "lz4",
}

err := backup.TestBackup(t, backup.XtraBackup, "tar", 0, cDetails, []string{"TestPrimaryBackup"})
require.EqualError(t, err, "test failure: TestPrimaryBackup")
}

0 comments on commit a2d96fa

Please sign in to comment.