-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fix failed test case of internal/safety package #464
Conversation
Best reviewed: commit by commit
Optimal code review plan (2 warnings, 2 commits squashed)
|
/format |
[REBASE] Rebase triggered by kevindiu for branch: test/internal/safety |
[FORMAT] Updating license headers and formatting go codes triggered by kevindiu. |
[FORMAT] Failed to format. |
Codecov Report
@@ Coverage Diff @@
## master #464 +/- ##
======================================
Coverage 7.83% 7.83%
======================================
Files 396 396
Lines 20322 20322
======================================
Hits 1593 1593
Misses 18492 18492
Partials 237 237 Continue to review full report at Codecov.
|
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.
Thank you for your PR:bow:
LGTM
/rebase |
[REBASE] Rebase triggered by vankichi for branch: test/internal/safety |
30b0bcd
to
7fd531b
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
/approve |
[REBASE] Rebase triggered by vankichi for branch: test/internal/safety |
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.
[APPROVED] This PR is approved by vankichi.
/rebase |
[REBASE] Rebase triggered by vankichi for branch: test/internal/safety |
7fd531b
to
99895a7
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.
@kevindiu I left some suggestions. please check it.
I suggest you one sentence in a line would be better. (We can check difference easy if there are some changes in another PRs. )
@@ -24,65 +24,138 @@ import ( | |||
"go.uber.org/goleak" | |||
) | |||
|
|||
var ( | |||
// Goroutine leak is detected by `fastime`, but it should be ignored in the test because it is an external package. | |||
goleakIgnoreOptions = []goleak.Option{ |
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.
[golangci] reported by reviewdog 🐶
goleakIgnoreOptions
is a global variable (gochecknoglobals)
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
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
@kpango This PR implements the test case of I added the following code to the test code: It is not urgent but can you please review it in this week (6/19)? |
/rebase |
[REBASE] Rebase triggered by kevindiu for branch: test/internal/safety |
Co-authored-by: Hiroto Funakoshi <[email protected]>
Co-authored-by: Kiichiro YUKAWA <[email protected]>
Co-authored-by: Kiichiro YUKAWA <[email protected]>
a9588d8
to
60bb2fb
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
/format |
[FORMAT] Updating license headers and formatting go codes triggered by kpango. |
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.
[APPROVED] This PR is approved by kpango.
Description:
This PR fix the failed test case in internal/safety package.
Related Issue:
How Has This Been Tested?:
Environment:
Types of changes:
Changes to Core Features:
Checklist: