Skip to content

Commit

Permalink
statistics: remove useless function
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Sep 3, 2024
1 parent 673dd2b commit b135805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/statistics/handle/handletest/handle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ func TestInitStatsLite(t *testing.T) {
checkAllEvicted(t, statsTbl0)

h.Clear()
require.NoError(t, h.InitStatsLite(context.Background(), is))
require.NoError(t, h.InitStatsLite(context.Background()))
statsTbl1 := h.GetTableStats(tblInfo)
checkAllEvicted(t, statsTbl1)
{
Expand Down

0 comments on commit b135805

Please sign in to comment.