pingcap / pingcap/tidb

Flaky test: TestForeignKeyCheckAndLock in pkg/executor/test/fktest

Open
#70,896 0 comments 0 reactions 0 assignees View on GitHub
component/test flaky-test type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

Automated flaky test report.

Title: Flaky test: TestForeignKeyCheckAndLock in pkg/executor/test/fktest
- Repo: pingcap/tidb
- Package: pkg/executor/test/fktest
- Case: TestForeignKeyCheckAndLock
- Branch: master
- Flaky Count: 1
- Time Thresholded Count: 0
- Latest Build: https://prow.tidb.net/jenkins/job/pingcap/job/tidb/job/pull_unit_test_next_gen/8500/

Window: 2026-09-04T00:00:00.000Z → 2026-09-05T00:00:00.000Z
Threshold: 100000 ms

Note: This issue is created for a specific branch; updates may be posted as comments.

Contributor guide

Open the contributing guide

Research direction

Start with TestForeignKeyCheckAndLock in pkg/executor/test/fktest and reproduce it on the master branch using the latest build linked in the report. Inspect the test's foreign-key and locking behavior to identify the intermittent failure. Done means the test no longer flakes in repeated runs.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.