-
Notifications
You must be signed in to change notification settings - Fork 286
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
test(pkg/context): migrate test-infra to testify for pkg/context pkg #2862
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. |
/run-all-tests |
1 similar comment
/run-all-tests |
/run-integration-tests |
pkg/util/leak_helper.go
Outdated
"go.uber.org/goleak" | ||
) | ||
|
||
func IgnoreEtcdAndOpencensusLeak(m *testing.M) { |
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.
What about adding a parameters ...goleak.Option
to allow more customized ignore function.
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.
Sure, i will change the function name also.
The pr description may need modify a bit. Rest lgtm |
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.
LGTM
/run-integration-tests |
Codecov Report
@@ Coverage Diff @@
## master #2862 +/- ##
================================================
+ Coverage 55.3406% 59.2420% +3.9013%
================================================
Files 164 181 +17
Lines 19754 18340 -1414
================================================
- Hits 10932 10865 -67
+ Misses 7790 6525 -1265
+ Partials 1032 950 -82 |
@ben1009 @3AceShowHand PTLA , thanks. |
/run-integration-tests |
1 similar comment
/run-integration-tests |
/run-kafka-tests |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: b3d998d
|
What problem does this PR solve?
migrate test-infra to testify for pkg/context pkg,close issue #2859, close issue #2874
What is changed and how it works?
Check List
Tests
Code changes
Release note