-
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
*: replace defer clean with t.Cleanup #36722
Conversation
[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 submitting an approval review. |
@xhebox Please fix the linter.
|
I find some code look like this: tidb/executor/analyzetest/analyze_test.go Lines 586 to 590 in cb211e0
if we are without the hand way to clean. we will meet some problems. |
Could use subtests to handle it, tell me if there are other similar cases. Also, it will cause problem anyway, defer in loop does not make sense. |
Fixed all cases in tests by revive linter, going to merge it. /merge |
This pull request has been accepted and is ready to merge. Commit hash: 5f80b734bd974d008d0c724dc97abd861f057b50
|
/run-unit-test |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: d9ee5f6cb4545519fbc6a503fbf2e821596886fd
|
/merge |
/run-unit-test |
/merge |
/run-all-tests |
if there is no close, then you will never forget to close. Signed-off-by: xhe <[email protected]>
Signed-off-by: xhe <[email protected]>
Signed-off-by: xhe <[email protected]>
Signed-off-by: xhe <[email protected]>
Signed-off-by: xhe <[email protected]>
Signed-off-by: xhe <[email protected]>
Signed-off-by: xhe <[email protected]>
Signed-off-by: xhe <[email protected]>
Signed-off-by: xhe <[email protected]>
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 3ab19b7
|
/run-build |
@xhebox: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. 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. |
Signed-off-by: xhe <[email protected]>
Every merge may damage this PR... /merge |
This pull request has been accepted and is ready to merge. Commit hash: e05802f
|
/merge |
* upstream/master: ddl/schematracker: fix SetDDL will cause data race (pingcap#36768) planner: check virtual column for tiflash (pingcap#36771) *: replace defer clean with t.Cleanup (pingcap#36722) ddl: fix inaccurate row_count for `admin show ddl jobs` (pingcap#36716) config, sysvar: add config `instance.enable_ddl` and sysvar `tidb_enable_ddl` (pingcap#35425) *: enable part revive for all code (pingcap#36703)
if there is no close, then you will never forget to close.
Signed-off-by: xhe [email protected]
What problem does this PR solve?
Issue Number: close #36721
Problem Summary: As title. Also includes a patch for bazel patches.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.