Skip to content

Commit

Permalink
pkg: fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: BornChanger <[email protected]>
  • Loading branch information
BornChanger committed Jul 24, 2023
1 parent 06e15e4 commit d9e7c64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/backup/restore/restore_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package restore
import (
"context"
"fmt"
"github.com/pingcap/tidb-operator/pkg/backup/constants"
"os"
"strings"
"testing"
Expand Down Expand Up @@ -436,6 +437,8 @@ func TestBRRestoreByEBS(t *testing.T) {
g.Expect(err).To(Succeed())
}()

os.Setenv(constants.AWSRegionEnv, "us-west-1")

for _, tt := range cases {
t.Run(tt.name, func(t *testing.T) {

Expand Down

0 comments on commit d9e7c64

Please sign in to comment.