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 flux-wreck purge #1357

Merged
merged 3 commits into from
Mar 15, 2018
Merged

Fix flux-wreck purge #1357

merged 3 commits into from
Mar 15, 2018

Conversation

grondo
Copy link
Contributor

@grondo grondo commented Mar 15, 2018

Fix typo/incorrect method call in flux wreck purge as noticed by @trws in #1356.

Also added a quick sanity of check of flux wreck purge in tests (don't know why this was never done!), and a few other runtime fixes I stumbled across during testing.

grondo added 3 commits March 15, 2018 15:04
flux-wreck purge attempts to call the `commit` method on a flux
handle, the correct method is `kvs_commit`. Not sure how this
slipped by, but

Fixes flux-framework#1356
Add a sanity check that flux-wreck purge works and can purge jobs.
Avoid a messy runtime error in various flux-wreck command when
there is no lwj. kvs directory yet.
@coveralls
Copy link

coveralls commented Mar 15, 2018

Coverage Status

Coverage increased (+0.02%) to 78.842% when pulling f4ba7fd on grondo:issue#1356 into e8056ed on flux-framework:master.

@grondo
Copy link
Contributor Author

grondo commented Mar 15, 2018

restarted failed build due to an instance of #1077. Actually accidentally restarted all builds, grrr.

@codecov-io
Copy link

Codecov Report

Merging #1357 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1357      +/-   ##
==========================================
+ Coverage   78.51%   78.55%   +0.04%     
==========================================
  Files         162      162              
  Lines       29741    29741              
==========================================
+ Hits        23350    23362      +12     
+ Misses       6391     6379      -12
Impacted Files Coverage Δ
src/common/libflux/ev_flux.c 97.56% <0%> (-2.44%) ⬇️
src/common/libflux/rpc.c 93.38% <0%> (-0.83%) ⬇️
src/connectors/local/local.c 87.4% <0%> (-0.75%) ⬇️
src/common/libflux/msg_handler.c 86.64% <0%> (-0.73%) ⬇️
src/broker/overlay.c 74.14% <0%> (-0.32%) ⬇️
src/common/libflux/reactor.c 93.44% <0%> (-0.29%) ⬇️
src/common/libflux/handle.c 83.66% <0%> (-0.25%) ⬇️
src/common/libflux/future.c 88.78% <0%> (ø) ⬆️
src/bindings/lua/lua-hostlist/hostlist.c 62.95% <0%> (+0.21%) ⬆️
src/common/libutil/base64.c 95.77% <0%> (+0.7%) ⬆️
... and 4 more

@garlick
Copy link
Member

garlick commented Mar 15, 2018

LGTM, thanks!

@garlick garlick merged commit 2f3a7a9 into flux-framework:master Mar 15, 2018
@grondo grondo deleted the issue#1356 branch March 19, 2018 18:01
@grondo grondo mentioned this pull request May 10, 2018
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.

4 participants