-
Notifications
You must be signed in to change notification settings - Fork 78
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
add cache test #576
add cache test #576
Conversation
Best reviewed: commit by commit
|
[CHATOPS:HELP] ChatOps commands.
|
/rebase |
[REBASE] Rebase triggered by kevindiu for branch: test/internal/cache |
d73d71c
to
cab1052
Compare
Codecov Report
@@ Coverage Diff @@
## master #576 +/- ##
==========================================
+ Coverage 10.86% 10.97% +0.10%
==========================================
Files 403 403
Lines 20939 20930 -9
==========================================
+ Hits 2275 2297 +22
+ Misses 18396 18364 -32
- Partials 268 269 +1
Continue to review full report at Codecov.
|
@@ -26,6 +26,13 @@ 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
@kevindiu please confirm description and others required. |
Could you add new case related this? |
I think it is untestable as the default options contains gache type and the |
/rebase |
[REBASE] Rebase triggered by kevindiu for branch: test/internal/cache |
42ac4df
to
34f5998
Compare
I will regenerate the test code later |
/rebase |
[REBASE] Rebase triggered by vankichi for branch: test/internal/cache |
Co-authored-by: Kiichiro YUKAWA <[email protected]>
9c63746
to
c991bea
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
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
/rebase |
[REBASE] Rebase triggered by vankichi for branch: test/internal/cache |
[FORMAT] Updating license headers and formatting go codes triggered by vankichi. |
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.
Description:
This PR implements internal/cache test case.
Related Issue:
How Has This Been Tested?:
Environment:
Types of changes:
Changes to Core Features:
Checklist: