diff --git a/pkg/executor/test/oomtest/oom_test.go b/pkg/executor/test/oomtest/oom_test.go index 9644a1aa2dab6..6b41fc80730a2 100644 --- a/pkg/executor/test/oomtest/oom_test.go +++ b/pkg/executor/test/oomtest/oom_test.go @@ -102,6 +102,10 @@ func TestMemTracker4InsertAndReplaceExec(t *testing.T) { tk.Session().GetSessionVars().MemQuotaQuery = -1 oom.ClearMessageFilter() + oom.AddMessageFilter( + "background process exited", + "initialize slot capacity", + ) oom.SetTracker("") tk.MustExec("insert into t_MemTracker4InsertAndReplaceExec select * from t")