-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
statistics: fix unstable TestDropPartitionStats test #23968
Conversation
/cc @qw4990 |
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
…com:rebelice/tidb into fix_unstable_test
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by writing |
/run-unit-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please explain why the test would fail occasionally and how the change can fix it?
@eurekaka I have updated the relevant information in the description |
Please resolve conflicts @rebelice |
@rebelice Please go on to promote this PR~ |
@rebelice: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/merge |
@hawkingrei: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
I think it can be closed. we cannot see this unstable test case for a long time. |
What problem does this PR solve?
Issue Number: part of #23967
Problem Summary:
From the error message, the reason for the error is that the test environment in the race test conflicts and the root cause is that the test environment in the race test is not isolated.
For TestDropPartitionStats, we need environmental isolation. But
executor/testSerialSuite
doesn't support it. So I move TestDropPartitionStats instatistics/testStatsSuite
, this test suite guarantees environmental isolation.Check List
Tests
Release note