-
Notifications
You must be signed in to change notification settings - Fork 74
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
Improve internal package tests #1227
Conversation
[CHATOPS:HELP] ChatOps commands.
|
Codecov Report
@@ Coverage Diff @@
## master #1227 +/- ##
==========================================
+ Coverage 17.36% 17.89% +0.52%
==========================================
Files 509 512 +3
Lines 32259 32614 +355
==========================================
+ Hits 5601 5835 +234
- Misses 26352 26457 +105
- Partials 306 322 +16
Continue to review full report at Codecov.
|
79849f8
to
095d30b
Compare
29f730e
to
ea7aadf
Compare
/rebase |
[REBASE] Rebase triggered by kevindiu for branch: test/internal/fix-test-error |
[FORMAT] Updating license headers and formatting go codes triggered by kevindiu. |
0f98fd2
to
f9370fd
Compare
/format |
3245a4c
to
0a9b03a
Compare
[REBASE] Rebase triggered by kevindiu for branch: test/internal/fix-test-error |
92a252e
to
8762403
Compare
it would be better to update header.tmpl to change import path for goleak |
/rebase |
[REBASE] Rebase triggered by kevindiu for branch: test/internal/fix-test-error |
8762403
to
c7cd0ea
Compare
0b3402b
to
f08d700
Compare
/rebase |
[REBASE] Rebase triggered by kevindiu for branch: test/internal/fix-test-error |
86b50d4
to
0212721
Compare
Since goleak does not support parallel test to use func TestMain(m *testing.M) {
goleak.VerifyTestMain(m)
} or should we disable parallel test and use |
Signed-off-by: kpango <kpango@vdaas.org>
1c0ad0f
to
b700761
Compare
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
Description:
This PR include the following changes:
The PR seems huge but most of them are updating NOP logger for test, and update the goleak import path.
Since goleak doesn't support parallel test, this PR does not update to support parallel test.
ref: uber-go/goleak#16
Related Issue:
How Has This Been Tested?:
Environment:
Types of changes:
Changes to Core Features:
Checklist: