From 3916382a2d9436ff119a22874762d1ba6cad950c Mon Sep 17 00:00:00 2001 From: lhy1024 Date: Mon, 10 Jan 2022 18:31:19 +0800 Subject: [PATCH] add test Signed-off-by: lhy1024 --- server/statistics/hot_peer_cache_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/statistics/hot_peer_cache_test.go b/server/statistics/hot_peer_cache_test.go index 617896c7253..f0e36a7b008 100644 --- a/server/statistics/hot_peer_cache_test.go +++ b/server/statistics/hot_peer_cache_test.go @@ -468,6 +468,7 @@ func (t *testHotPeerCache) TestRemoveFromCacheRandom(c *C) { } } +// See issue #4510 func (t *testHotPeerCache) TestCacheInherit(c *C) { cache := NewHotPeerCache(Read) region := buildRegion(Read, 3, 10)