Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
asddongmen committed Jan 21, 2022
1 parent fc06851 commit e469fb3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions cdc/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ func (a *testCase) String() string {
}

func TestPProfPath(t *testing.T) {
t.Parallel()

router := gin.New()
RegisterRoutes(router, capture.NewCapture4Test(false), nil)

Expand All @@ -64,11 +62,8 @@ func TestPProfPath(t *testing.T) {
}

func TestHandleFailpoint(t *testing.T) {
t.Parallel()

router := gin.New()
RegisterRoutes(router, capture.NewCapture4Test(false), nil)

fp := "github.com/pingcap/tiflow/cdc/TestHandleFailpoint"
uri := fmt.Sprintf("/debug/fail/%s", fp)
body := bytes.NewReader([]byte("return(true)"))
Expand Down
1 change: 0 additions & 1 deletion cdc/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ func testSetUpDataDir(t *testing.T, s *testServer) {
}

func TestCheckDir(t *testing.T) {
t.Parallel()
me, err := user.Current()
require.Nil(t, err)
if me.Name == "root" || runtime.GOOS == "windows" {
Expand Down

0 comments on commit e469fb3

Please sign in to comment.