[Buildbot-commits] [Buildbot] #2446: Optimize test runs: test db and fake master
Buildbot
nobody at buildbot.net
Mon Feb 11 03:45:59 UTC 2013
#2446: Optimize test runs: test db and fake master
------------------------+---------------------------
Reporter: dustin | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 0.8.+
Version: 0.8.7p1 | Keywords: tests, sprint
------------------------+---------------------------
Most of Buildbot's tests build a fake master. This involves setting up a
fake data API and a fake DB API instance, among other things - and all of
it takes some time. With a bit of care, the fake master could probably be
cached and "reset" between runs.
Similarly, a lot of tests set up a blank SQLite DB with the current model,
then start doing things to it. This could be optimized by taking a copy
of the blank DB on disk, and blitting it back to disk between test runs --
rather than removing it and running all those `CREATE TABLE` statements.
--
Ticket URL: <http://trac.buildbot.net/ticket/2446>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list