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

[fix bug] Fix redis cache adapter GetOrSetFunc, GetOrSetFuncLock meth… #1656

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

tiger1103
Copy link
Contributor

[fix bug] Fix redis cache adapter GetOrSetFunc, GetOrSetFuncLock method bug and add unit test

@codecov-commenter
Copy link

Codecov Report

Merging #1656 (2510e04) into master (8f326dc) will increase coverage by 0.01%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1656      +/-   ##
==========================================
+ Coverage   71.06%   71.08%   +0.01%     
==========================================
  Files         445      445              
  Lines       42492    42492              
==========================================
+ Hits        30198    30206       +8     
+ Misses      10391    10380      -11     
- Partials     1903     1906       +3     
Flag Coverage Δ
go-1.15 71.08% <50.00%> (+0.04%) ⬆️
go-1.16 71.07% <50.00%> (+0.03%) ⬆️
go-1.17 71.07% <50.00%> (+0.03%) ⬆️

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

Impacted Files Coverage Δ
os/gcache/gcache_adapter_redis.go 32.35% <50.00%> (+2.57%) ⬆️
os/gmutex/gmutex.go 94.73% <0.00%> (-2.64%) ⬇️
os/gspath/gspath_cache.go 84.21% <0.00%> (ø)
os/gcron/gcron_z_unit_schedule.go 67.52% <0.00%> (+0.42%) ⬆️
container/gtree/gtree_avltree.go 96.53% <0.00%> (+0.57%) ⬆️

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 8f326dc...2510e04. Read the comment docs.

@gqcn gqcn merged commit 85d8f90 into gogf:master Mar 9, 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