Tests leak "lp.createdb" files in /tmp
Bug #830845 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
Some test runs (I just saw it happen with a successful run) leak files in /tmp. They are named like:
lp.createdb.
lp.createdb.
To post a comment you must log in.
> lp.createdb. launchpad_ ftest_template
This controls the creation of the db 'launchpad_ ftest_template_ 13091'.
Preventing it leaking will be tricky unless we can setup a racefree
removal of the lock while another process is trying to obtain it.
> lp.createdb. launchpad_ ftest_template_ 13091
This controls creation of the db 'launchpad_ ftest_13091' which is a
per-test thing, and can be safely deleted in layer teardown (but that
won't be needed if we setup a racefree remove of the lock).
-Rob