pingcap / pingcap/tidb

slow test `TestPBMemoryLeak` in `pkg/executor/test/unstabletest` pkg

Open
#50,796 0 comments 0 reactions 0 assignees View on GitHub
component/test severity/moderate sig/execution type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Average timecost was 106180.0000ms between TIMESTAMP("2024-01-08") AND TIMESTAMP("2024-01-30")

Found records: 1 (filter only for runs that timecost >= threshold)
Max timecost: 106180ms
Min timecost: 106180ms
Avg timecost: 106180.0000ms

- [CI build](https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/1138/): used 106180ms

Contributor guide

Open the contributing guide

Research direction

Start with TestPBMemoryLeak in pkg/executor/test/unstabletest and review the linked CI run, which reported a 106180 ms runtime. Determine what change is needed to address the slow test; done means the test no longer exhibits the reported excessive runtime.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
performance, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.