Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed May 28, 2024
1 parent 09c6b92 commit d030133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/statistics/hot_peer_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func TestUpdateHotPeerStat(t *testing.T) {
utils.MinHotThresholds[utils.RegionReadKeys] = 1.0
utils.MinHotThresholds[utils.RegionReadQueryNum] = 1.0
newItem = cache.checkPeerFlow(region, []*metapb.Peer{peer}, deltaLoads, interval)
re.Nil(newItem)
re.Empty(newItem)

// new peer, interval is less than report interval
interval = 4
Expand Down

0 comments on commit d030133

Please sign in to comment.