-
Notifications
You must be signed in to change notification settings - Fork 41
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
sim: fix emulator after introduction of new submit RPC #304
sim: fix emulator after introduction of new submit RPC #304
Conversation
as opposed to manually emitting the wreck.state.submitted event
@grondo: just want to confirm that I interpreted the |
(Sorry if I introduced the premature future destruction bug when updating the KVS API!) |
Codecov Report
@@ Coverage Diff @@
## master #304 +/- ##
==========================================
+ Coverage 67.74% 74.11% +6.37%
==========================================
Files 46 49 +3
Lines 8692 9287 +595
==========================================
+ Hits 5888 6883 +995
+ Misses 2804 2404 -400
Continue to review full report at Codecov.
|
Thanks @SteVwonder. LGTM! I will merge this after flux-core 1409 gets in. |
flux-framework/flux-core#1409 went in just now, so kicking off tests again to run against the new master. |
@SteVwonder, oops I missed your question yesterday, sorry. The We can fix that up later if it makes more sense. (Current behavior might be confusing because it emits the submitted event, but doesn't change the state) |
Opened flux-framework/flux-core#1410 on the question of submitted state for |
Thanks! Merging. |
The main problem was a pre-mature destruction of the flux_future. The unpacked values were later accessed in the packing of the wreck event. While making changes in the simulator, went ahead and added some additional error checking/messaging and refactored to take advantage of the new
job.submit-nocreate
RPC.Fixes: #303