Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: disksing <i@disksing.com>
  • Loading branch information
disksing committed Nov 30, 2021
1 parent 24b9ea7 commit 0cd6117
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/region_syncer/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package syncer

import (
"context"
"io/ioutil"
"os"
"time"

Expand All @@ -34,7 +35,7 @@ type testClientSuite struct{}

// For issue https://github.com/tikv/pd/issues/3936
func (t *testClientSuite) TestLoadRegion(c *C) {
tempDir, err := os.MkdirTemp(os.TempDir(), "region_syncer_load_region")
tempDir, err := ioutil.TempDir(os.TempDir(), "region_syncer_load_region")
c.Assert(err, IsNil)
defer os.RemoveAll(tempDir)
rs, err := core.NewRegionStorage(context.Background(), tempDir, nil)
Expand Down

0 comments on commit 0cd6117

Please sign in to comment.