ff79197eba
Instead, use queue task_done calls to indicate that the scheduler has finished processing events. This lets the tests know when the queues are both empty and all requests have been handled. Add a lock around reporting complete events in fake jenkins jobs so that waitUntilSettled can be assured that no new events will arrive. Directly report LOST builds when a job doesn't exist, rather than spawning a new thread (which was only done to work around the lock). Change-Id: I32ad46648c82d7458fb5be779c62ac5b57857674 Reviewed-on: https://review.openstack.org/19330 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins |
||
---|---|---|
.. | ||
__init__.py | ||
jenkins.py |