diff --git a/tools/pd-ctl/tests/hot/hot_test.go b/tools/pd-ctl/tests/hot/hot_test.go index cb08fac202..c406ff534c 100644 --- a/tools/pd-ctl/tests/hot/hot_test.go +++ b/tools/pd-ctl/tests/hot/hot_test.go @@ -555,4 +555,5 @@ func (suite *hotTestSuite) checkBuckets(cluster *pdTests.TestCluster) { // Drain async hot peer updates before TearDownTest resets the hot cache directly. re.NotNil(hotStat.GetHotPeerStats(utils.Write, 0)) re.NotNil(hotStat.GetHotPeerStats(utils.Read, 0)) + re.NotNil(hotStat.GetHotPeerStats(utils.Write, 0)) }