#801: getLastFinishedBuild() fails with simultaneous builds
---------------------+------------------------------------------------------
Reporter: maruel | Owner: maruel
Type: defect | Status: new
Priority: critical | Milestone: undecided
Version: master | Keywords:
---------------------+------------------------------------------------------
If you connect 2 slaves on a builder and call
IBuilderStatus.getLastFinishedBuild() on the builder, it will fail to
return the last completed build if both are building simultaneously.
This function should be changed to do a loop instead but a trivial loop
won't work since IBuilderStatus.getBuild() may return None when it has
pending requests, it should still be clamped when it hits the end of the
build list in case there is no finished build yet.
This currently breaks console view with simultaneous builds.
I want to write a unit test first. :)
--
Ticket URL: <http://buildbot.net/trac/ticket/801>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits