Skip to content

Commit

Permalink
make fmt
Browse files Browse the repository at this point in the history
Signed-off-by: hillium <yujuncen@pingcap.com>
  • Loading branch information
YuJuncen committed May 5, 2023
1 parent 47c4cf0 commit 166f68f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/realtikvtest/brietest/brie_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TestShowBackupQueryRedact(t *testing.T) {
failpoint.Enable("github.com/pingcap/tidb/executor/block-on-brie", "return")
ch := make(chan any)
go func() {
tk := testkit.NewTestKit(t, tk.Session().GetStore())
tk := testkit.NewTestKit(t, tk.Session().GetStore())
err := tk.QueryToErr("backup database * to 's3://nonexist/real?endpoint=http://127.0.0.1&access-key=notleaked&secret-access-key=notleaked'")
require.Error(t, err)
close(ch)
Expand Down Expand Up @@ -106,7 +106,7 @@ func TestCancel(t *testing.T) {
req := require.New(t)
ch := make(chan struct{})
go func() {
tk := testkit.NewTestKit(t, tk.Session().GetStore())
tk := testkit.NewTestKit(t, tk.Session().GetStore())
err := tk.QueryToErr("backup database * to 'noop://'")
req.Error(err)
close(ch)
Expand Down

0 comments on commit 166f68f

Please sign in to comment.