-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
ddl/failtest: migrate test-infra to testify #27747
ddl/failtest: migrate test-infra to testify #27747
Conversation
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
…ub.com/pingcap/check package import Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
… of github.com/pingcap/tidb/testkit package Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
…tkit Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
[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. |
Welcome @karuppiah7890! |
cc @tisonkun could you please review or tag someone / some folks you know who can help with reviewing this? |
TiDB uses a "merge master" strategy which force keep up-to-date before PR merging and thus running tests with all commits. However, it is not a strong requirement to keep up-to-date during reviewing since almost changes don't have conflicts. We sometimes click "Update branch" to keep up-to-date but after one merge commit, rebase is hard to perform. Short answer, you shouldn't update it, especially mix up rebase and merge. |
I think we need some sort of |
Cool ! |
So far, the commit message is handled by @ti-chi-bot . We're discussing to change the style https://internals.tidb.io/t/topic/361 . Maybe implement later - I don't have a concrete schedule, though. |
Cool ! But please ensure your name is on the commit as you are working on it. It would be nice to have both names with mine as co-author |
Signed-off-by: tison <wander4096@gmail.com>
I hope so. However, @ti-chi-bot hijacks the commit message. I created an issue ti-community-infra/tichi#733 to investigate whether we can properly respect multiple authors contribution. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 002b85e
|
/run-check_dev_2 |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 6dd22c7
|
@karuppiah7890: 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. |
What problem does this PR solve?
Issue Number: close #27669
Problem Summary:
What is changed and how it works?
What's Changed: Migrated tests to use testify package instead of github.com/pingcap/check package for assertions and any test utils and matchers that github.com/pingcap/check provided
There are some small changes in
ddl/ddl_test
tooNote:
make gotest
I noticed that two tests are timing out. I need help with figuring out why that's the case and if it's happening in others machines and in CI too or just my machine. The two tests are -TestT/TestAddIndexFailed
andTestT/TestAddIndexWorkerNum
. Log -Logs (click to expand)
SerialSuites
of github.com/pingcap/check helps to run tests in series. Also, when I tried it in parallel witht.Parallel()
there were errors which I didn't understandTODO
s with some questions, please do check themcolsStr
andidxsStr
don't seem to be used anywhere else, so I'm curious if it's dead code or if some test code got removed by someone by mistakeTests
Release note