From 1c0442017a51881dac824f42299a4d308b1fa5b8 Mon Sep 17 00:00:00 2001 From: yisaer Date: Wed, 27 Jul 2022 16:35:21 +0800 Subject: [PATCH] fix test Signed-off-by: yisaer --- statistics/handle/handle_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statistics/handle/handle_test.go b/statistics/handle/handle_test.go index d580dbaac6105..7a39898f20f96 100644 --- a/statistics/handle/handle_test.go +++ b/statistics/handle/handle_test.go @@ -103,7 +103,7 @@ func TestStatsCacheMemTracker(t *testing.T) { require.NoError(t, err) tableInfo := tbl.Meta() statsTbl := do.StatsHandle().GetTableStats(tableInfo) - require.True(t, statsTbl.MemoryUsage().TotalMemUsage > 0) + require.True(t, statsTbl.MemoryUsage().TotalMemUsage == 0) require.True(t, statsTbl.Pseudo) testKit.MustExec("analyze table t")