Skip to content

Commit

Permalink
oomtest: add whitelist for oom test to fix flaky test
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Dec 20, 2022
1 parent 9f4dd80 commit 568aeef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion executor/oomtest/oom_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ func (h *oomCapture) Write(entry zapcore.Entry, fields []zapcore.Field) error {
return nil
}
// They are just common background task and not related to the oom.
if entry.Message == "SetTiFlashGroupConfig" {
if entry.Message == "SetTiFlashGroupConfig" ||
entry.Message == "record table item load status failed due to not finding item" {
return nil
}

Expand Down

0 comments on commit 568aeef

Please sign in to comment.