Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <[email protected]>
  • Loading branch information
lhy1024 committed Nov 6, 2023
1 parent c3c16ea commit bb7a892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/schedule/checker/rule_checker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package checker
import (
"context"
"fmt"

"strconv"
"strings"
"testing"
Expand Down Expand Up @@ -244,7 +245,6 @@ func (suite *ruleCheckerTestSuite) TestFixToManyOrphanPeers() {
region = region.Clone(
core.WithDownPeers([]*pdpb.PeerStats{{Peer: region.GetStorePeer(3), DownSeconds: 60000}}),
core.WithPendingPeers([]*metapb.Peer{region.GetStorePeer(3)}))
fmt.Println(len(region.GetPeers()))
suite.cluster.PutRegion(region)
op = suite.rc.Check(suite.cluster.GetRegion(1))
suite.NotNil(op)
Expand Down

0 comments on commit bb7a892

Please sign in to comment.