DatabaseLayer.testTearDown() should flush database updates
Bug #164407 reported by
Guilherme Salgado
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
Sometimes db-level failures may not happen in our tests because we use _lazyUpdates and thus some updates to may not be flushed to the DB by the time the test finishes. A recent example was bug 164396.
We may be able to avoid this in the future if we add a flush_database_
Changed in launchpad: | |
importance: | Undecided → High |
status: | New → Confirmed |
visibility: | private → public |
To post a comment you must log in.