From 6bf50ce7d1c5512a68bab30317e9e16cf29b95a2 Mon Sep 17 00:00:00 2001 From: Weizhen Wang Date: Tue, 3 Sep 2024 15:52:09 +0800 Subject: [PATCH] statistics: remove useless function Signed-off-by: Weizhen Wang --- pkg/statistics/handle/handletest/handle_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/statistics/handle/handletest/handle_test.go b/pkg/statistics/handle/handletest/handle_test.go index 64619fb69f51c..e330c797f75d0 100644 --- a/pkg/statistics/handle/handletest/handle_test.go +++ b/pkg/statistics/handle/handletest/handle_test.go @@ -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) {