Tests leak "lp.createdb" files in /tmp

Bug #830845 reported by Jeroen T. Vermeulen
6
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.launchpad_ftest_template
lp.createdb.launchpad_ftest_template_13091

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 830845] [NEW] Tests leak "lp.createdb" files in /tmp

> 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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.