Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
autotest
/
12bc8a8a235f2b2d0f712daf4d3683bf2a056e24
/
scheduler
/
monitor_db_unittest.py
12bc8a8
The scheduler unit test needs to pass in a created_on time.
by showard
· 16 years ago
b1e5187
Get the scheduler unittest to run against SQLite!
by showard
· 16 years ago
442e71e
Move migration system into database/ directory.
by showard
· 16 years ago
0e73c85
Add a generic database wrapper, supporting different database backends, to be used by migrate, scheduler, parser (eventually), and maybe others. This will consolidate the multiple database wrappers we have throughout the code and allow us to swap in SQLite for MySQL for unit testing purposes.
by showard
· 16 years ago
989f25d
two new major features:
by showard
· 16 years ago
50c0e71
-add --force option to migrations to disable user confirmation because this can make migrations unscriptable
by showard
· 16 years ago
4c5374f
-modify scheduler throttling code to track number of running processes rather than just number of running agents. note this is only an estimate of running processes - it counts all agents as one process unless the agent is a synchronous autoserv execution, in which case it uses the number of hosts being run.
by showard
· 16 years ago
63a3477
-Refactor new monitor_db scheduling algorithm into it's own class
by showard
· 16 years ago
56193bb
-add basic abort functionality test to scheduler unit tests. this
by showard
· 16 years ago
dd70371
I left some debugging code in monitor_db_unittest.py. This goes with a patch I sent out a few minutes ago. so it should be applied after it. It was a patch to monitor_db_unittest as well.
by mbligh
· 16 years ago
3e0f7e0
Need changes to fix the monitor_db unittest
by mbligh
· 16 years ago
c160352
Fixed the logic in the scheduler unit tests. Checks that the command
by mbligh
· 16 years ago
fb7cfb1
Add support to the scheduler to pass in the host.protection value as
by jadmanski
· 16 years ago
5df2b19
Updating the RPC interface and scheduler unit tests to match up with
by showard
· 16 years ago
f40cf53
Fixed the monitor_db_unittest to be more robust. When checking that the command line is correct should
by mbligh
· 16 years ago
0afbb63
Convert all python code to use four-space indents instead of eight-space tabs.
by jadmanski
· 16 years ago
3d161b0
Move the mock libraries from client/unittest into client/common_lib/test_utils.
by jadmanski
· 16 years ago
20f4706
-check ACLs directly in the scheduler (bypassing ineligible_host_queues)
by showard
· 16 years ago
04c82c5
Rewrite scheduling algorithm to use two queries + some data processing, rather than a separate query for each "idle" host. This should be considerably faster. It also gives us the opportunity to eliminate the whole ACL checking with ineligible_host_queues thing, which has been a nightmare. But one step at a time...
by showard
· 16 years ago
ce38e0c
The beginning of a unit test for the scheduler. Right now it only tests the job scheduling algorithm (i.e. Dispatcher._find_more_work() and the methods it uses).
by showard
· 16 years ago