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 tests for Issue 495 #996

Closed
wants to merge 5 commits into from
Closed

Conversation

chu11
Copy link
Member

@chu11 chu11 commented Mar 1, 2017

Just trying to wrap my head around issue #495, decided to add some tests to start, as I don't believe the original issue was directly or indirectly tested. Added some tests via flux_rpc_get() and flux_rpc_getf(). A few minor test additions & misc fixes as well.

@chu11
Copy link
Member Author

chu11 commented Mar 1, 2017

just thought of a few more test to add, hold off on merge for now

@chu11
Copy link
Member Author

chu11 commented Mar 1, 2017

added a couple of more tests

@codecov-io
Copy link

codecov-io commented Mar 1, 2017

Codecov Report

Merging #996 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #996      +/-   ##
==========================================
- Coverage   76.17%   76.16%   -0.01%     
==========================================
  Files         153      153              
  Lines       26545    26545              
==========================================
- Hits        20220    20219       -1     
- Misses       6325     6326       +1
Impacted Files Coverage Δ
src/common/libflux/heartbeat.c 82.6% <0%> (-4.35%)
src/common/libflux/request.c 88.15% <0%> (-1.32%)
src/common/libflux/message.c 83.39% <0%> (ø)
src/common/libflux/handle.c 86.04% <0%> (+0.25%)

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 aa5d395...ff0549b. Read the comment docs.

chu11 added 5 commits March 10, 2017 15:24
Add remote EPROTO tests for flux_rpcf and flux_rpcf_multi
Add tests to check for EPROTO locally, when a user incorrectly
assumes there is no payload (when there is one) or when a user
incorrectly assumes a payload (when there isn't one).
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 76.445% when pulling ff0549b on chu11:issue495-tests into aa5d395 on flux-framework:master.

@chu11
Copy link
Member Author

chu11 commented Mar 17, 2017

closing, will splilt up into future PRs

@chu11 chu11 closed this Mar 17, 2017
@chu11 chu11 deleted the issue495-tests branch June 5, 2021 18:14
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