zuul/tests
Sean Dague f39b9ca80c make enqueue_time passable to addChange
When doing a doPromote we should keep the enqueue times of items.
However, the teardown and rebuild of the queues means that items
are fully destroyed and created a new.

Change the addChange api call so that it takes an optional enqueue
time to set on the item, which it can do internally once the new
item has gotten created.

This should address the issue where enqueue_times get lost when
we do a promote of the queue.

Now with unit tests! (Also ensured that if I removed the scheduler
change these tests failed, so the test is testing a correct thing)

Change-Id: I4dce23d00128280c7add922ca9ef5018b57d1cf3
2014-01-11 22:16:48 -05:00
..
fixtures Make all changes reportable 2013-12-27 10:22:46 -08:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
test_layoutvalidator.py Support multiple triggers 2013-08-01 11:56:52 -07:00
test_scheduler.py make enqueue_time passable to addChange 2014-01-11 22:16:48 -05:00
test_stack_dump.py SIGUSR2 logs stack traces for active threads. 2013-08-20 15:09:04 -07:00