Skip to content
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 the code coverage of the gpool, gqueue, gring module #1987

Merged
merged 119 commits into from
Jul 11, 2022

Conversation

huangqian1985
Copy link
Member

Issue:#1986

1.NewConn 2.NewConnTLS 3.NewConnKeyCrt
1. ExampleConn_SendWithTimeout
2. ExampleConn_RecvLine
3. ExampleConn_RecvTill
1. ExampleConn_SendRecv
2. ExampleConn_SendRecvWithTimeout
3. ExampleConn_SetDeadline
4. ExampleConn_SetReceiveBufferWait
1. Test_Package_Option_HeadSize4
2. Test_Package_Option_Error
1. ExampleGetFreePorts
2. ExampleSend
3. ExampleSendRecv
4. ExampleSendWithTimeout
5. ExampleSendRecvWithTimeout
6. ExampleMustGetFreePort
1. ExampleSendPkg
2. ExampleSendRecvPkg
3. ExampleSendPkgWithTimeout
4. ExampleSendRecvPkgWithTimeout
1. Test_Pool_Send
2. Test_Pool_Recv
3. Test_Pool_RecvLine
4. Test_Pool_RecvTill
5. Test_Pool_RecvWithTimeout
6. Test_Pool_SendWithTimeout
7. Test_Pool_SendRecvWithTimeout
1. ExampleGetServer
2. ExampleSetAddress
3. ExampleSetHandler
4. ExampleRun_NilHandle
@codecov-commenter
Copy link

codecov-commenter commented Jul 8, 2022

Codecov Report

Merging #1987 (14e0b33) into master (384fb3c) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1987      +/-   ##
==========================================
+ Coverage   75.94%   75.98%   +0.03%     
==========================================
  Files         512      512              
  Lines       46656    46656              
==========================================
+ Hits        35435    35452      +17     
+ Misses       9222     9212      -10     
+ Partials     1999     1992       -7     
Flag Coverage Δ
go-1.15-386 75.90% <ø> (+0.06%) ⬆️
go-1.15-amd64 75.89% <ø> (+0.03%) ⬆️
go-1.16-386 75.87% <ø> (+<0.01%) ⬆️
go-1.16-amd64 75.87% <ø> (+<0.01%) ⬆️
go-1.17-386 75.93% <ø> (+0.01%) ⬆️
go-1.17-amd64 75.93% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
container/gtree/gtree_avltree.go 95.40% <0.00%> (-0.58%) ⬇️
os/gcron/gcron_schedule.go 70.42% <0.00%> (-0.39%) ⬇️
os/gfsnotify/gfsnotify_watcher_loop.go 84.87% <0.00%> (+1.68%) ⬆️
os/gfsnotify/gfsnotify_watcher.go 84.03% <0.00%> (+2.52%) ⬆️
container/gpool/gpool.go 97.82% <0.00%> (+3.26%) ⬆️
container/gring/gring.go 100.00% <0.00%> (+4.44%) ⬆️
container/gqueue/gqueue.go 100.00% <0.00%> (+4.54%) ⬆️
os/gcache/gcache_adapter_memory_lru.go 97.91% <0.00%> (+8.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 384fb3c...14e0b33. Read the comment docs.

@gqcn gqcn merged commit e38c455 into gogf:master Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants