errno: migrate test-infra to testify#26082
Conversation
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
|
/run-check_dev_2 |
|
/run-all-tests |
|
/run-unit-test |
Signed-off-by: tison <wander4096@gmail.com>
@xhebox this pr already refers to subtasks of the tracking issue. We keep track on issues and do not lose the connection. Also the connection is one a bidirectional tree, i.e.:
.. given the path 2 is present, it is redundant to refer PR -> tracking issue. |
Be clear, I mean an reference/example of testify suite API usage, instead of reference to tasks/issues. |
Signed-off-by: tison <wander4096@gmail.com>
|
@xhebox testify suite runs serially inside, I'd prefer use as less suite as possible. You can follow the upstream thread stretchr/testify#187 for more information. I'm going to wrap suite with go testing and use testify for its matchers when parallelism is required. Anyway, testify suite is not a net win and I'll trade off use it or not. We don't use it here for no benefit (although also no harm in this case). |
Make sense. I will do it. Thanks for your suggestion! |
|
@xhebox comments resolved. PTAL when you have spare time :) |
|
[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. DetailsReviewer can indicate their review by submitting an approval review. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 9d51c92 |
|
/run-all-tests |
1 similar comment
|
/run-all-tests |
|
/cherry-pick release-5.1 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.1 in PR #28155 |
Signed-off-by: tison wander4096@gmail.com
What problem does this PR solve?
Issue Number:
errnopkg #26081What's Changed:
Migrate test-infra to testify for
errnopkg.Release note