From bb7a8924434a718aafaffe4609344e9596342281 Mon Sep 17 00:00:00 2001 From: lhy1024 Date: Mon, 6 Nov 2023 13:52:51 +0800 Subject: [PATCH] refactor Signed-off-by: lhy1024 --- pkg/schedule/checker/rule_checker_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/schedule/checker/rule_checker_test.go b/pkg/schedule/checker/rule_checker_test.go index 1ab93a96801..0255b65c8a6 100644 --- a/pkg/schedule/checker/rule_checker_test.go +++ b/pkg/schedule/checker/rule_checker_test.go @@ -17,6 +17,7 @@ package checker import ( "context" "fmt" + "strconv" "strings" "testing" @@ -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)