Merge pull request #4428 from RosettaCommons/aleaverfay/jd3_bug_writing_output_if_last_job_fails
Fix bug where jd3::MPIjobdist was not outputting
In particular, if the last job in a particular stage
did not result in a success, then the job distributor
wouldn't ask the job queen if there were any jobs to
output. This is problematic as the job queen waits
until all jobs for a stage have completed before telling
the job distributor what jobs should be output.
Therefore, if the last job fails, the job distributor
will never get any jobs from the job queen to output!
Thanks Odessa @odaunc for bringing this bug to my attention!
New unit test fails with the old code and works with the new code.