Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yisaer committed Aug 18, 2020
1 parent fb50fee commit ce40df2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions conf/simconfig.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,3 @@ leader-schedule-limit = 32
region-schedule-limit = 128
replica-schedule-limit = 32
merge-schedule-limit = 32

[server.replication]
enable-placement-rules = true
2 changes: 1 addition & 1 deletion server/schedule/filter/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ package filter

import (
"fmt"
"github.com/pingcap/kvproto/pkg/metapb"

"github.com/pingcap/kvproto/pkg/metapb"
"github.com/pingcap/log"
"github.com/tikv/pd/pkg/slice"
"github.com/tikv/pd/server/core"
Expand Down
5 changes: 0 additions & 5 deletions server/schedulers/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ package schedulers

import (
"context"
"testing"

. "github.com/pingcap/check"
"github.com/pingcap/kvproto/pkg/metapb"
Expand All @@ -36,10 +35,6 @@ const (
MB = 1024 * KB
)

func Test(t *testing.T) {
TestingT(t)
}

var _ = Suite(&testShuffleLeaderSuite{})

type testShuffleLeaderSuite struct{}
Expand Down

0 comments on commit ce40df2

Please sign in to comment.