Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <admin@liudos.us>
  • Loading branch information
lhy1024 committed Nov 10, 2023
1 parent b6aa27d commit d97014f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/schedule/checker/rule_checker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ func (suite *ruleCheckerTestSuite) TestPriorityFitHealthWithDifferentRole1() {
suite.Equal("replace-down-peer-with-orphan-peer", op.Desc())

// set peer3 only pending
suite.cluster.GetStore(3).GetMeta().LastHeartbeat = time.Now().UnixNano()
r1 = r1.Clone(core.WithDownPeers(nil))
suite.cluster.PutRegion(r1)
op = suite.rc.Check(suite.cluster.GetRegion(1))
Expand Down

0 comments on commit d97014f

Please sign in to comment.