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

Add some tests to increase code coverage #1011

Merged
merged 4 commits into from Mar 21, 2017
Merged

Conversation

chu11
Copy link
Member

@chu11 chu11 commented Mar 17, 2017

Added tests for flux_lspeer(), flux_rmmod(), flux_lsmod(), and flux_insmod().

A couple of minor cleanups along the way.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 77.947% when pulling d7cbad1 on chu11:coverage into 2d3820a on flux-framework:master.

@codecov-io
Copy link

codecov-io commented Mar 17, 2017

Codecov Report

Merging #1011 into master will increase coverage by 0.33%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1011      +/-   ##
==========================================
+ Coverage   77.29%   77.63%   +0.33%     
==========================================
  Files         151      151              
  Lines       25751    25751              
==========================================
+ Hits        19905    19992      +87     
+ Misses       5846     5759      -87
Impacted Files Coverage Δ
src/cmd/flux-comms.c 43.13% <0%> (+7.84%)
src/modules/kvs/kvs.c 80.59% <0%> (-0.25%)
src/common/libflux/message.c 83.39% <0%> (-0.13%)
src/broker/broker.c 70.63% <0%> (+0.38%)
src/common/libflux/handle.c 86.04% <0%> (+0.51%)
src/broker/overlay.c 71.06% <0%> (+1.88%)
src/common/libflux/module.c 79.26% <0%> (+29.95%)
src/common/libflux/reparent.c 42.85% <0%> (+42.85%)

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 2d3820a...d7cbad1. Read the comment docs.

@chu11
Copy link
Member Author

chu11 commented Mar 18, 2017

77.947% ... so close :-)

@garlick
Copy link
Member

garlick commented Mar 21, 2017

Thanks! Merging.

@garlick garlick merged commit e07ed32 into flux-framework:master Mar 21, 2017
@grondo grondo mentioned this pull request Mar 28, 2017
@chu11 chu11 deleted the coverage branch June 5, 2021 16:58
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.

None yet

4 participants