Fix race condition where a job status could be reset back to a RETRY even after
it was change and is no longer in a WAITING_TO_RUN or RETRY state.
Also, added a check when trying to addSlot to a populated FINALIZE barrier (instead of failing on the same condition later on).



Revision created by MOE tool push_codebase.
MOE_MIGRATION=7080


git-svn-id: https://appengine-pipeline.googlecode.com/svn/trunk@165 1742be92-6d41-bc97-00b7-290b722d530a
3 files changed
tree: 3a53629966358529edf162230cbb1bfc5b8a2afb
  1. LICENSE
  2. README
  3. __init__.py
  4. demo/
  5. java/
  6. src/
  7. states.dot
  8. test/