Skip to content

Commit

Permalink
executor: update log filter to avoid flaky test (#57511)
Browse files Browse the repository at this point in the history
close #57509
  • Loading branch information
hawkingrei authored Nov 19, 2024
1 parent 91beef4 commit 50b5cd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/executor/test/oomtest/oom_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 50b5cd2

Please sign in to comment.