-
Notifications
You must be signed in to change notification settings - Fork 949
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: unit test for request cache of stream server #1767
test: unit test for request cache of stream server #1767
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1767 +/- ##
==========================================
+ Coverage 58.68% 58.72% +0.03%
==========================================
Files 200 200
Lines 15565 15565
==========================================
+ Hits 9135 9141 +6
+ Misses 5143 5138 -5
+ Partials 1287 1286 -1
|
@fuweid PTAL. |
} | ||
} | ||
|
||
func TestRequestCacheTokenUnique(t *testing.T) { |
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.
I think the original function name should be generateUniqueName
rather than uniqueName
? WDYT? @YaoZengzeng
In this pull request, I read the unit test code in the change, while I think these are quite good.
If we have a function Insert, then we add a unit test If we we have function insert, unique and others, we add a unit test What should we do, or do we need to rule to classify this? Maybe, Wish to get more input? @YaoZengzeng @fuweid @Letty5411 @chuanchang @HusterWan @zhuangqh |
Signed-off-by: YaoZengzeng <[email protected]>
LGTM. |
Thanks for your review. @starnop |
Signed-off-by: YaoZengzeng [email protected]
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
fixes part of #1756
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews