DatabaseLayer.testTearDown() should flush database updates

Bug #164407 reported by Guilherme Salgado
0
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_updates() to DatabaseLayer.testTearDown().

Changed in launchpad:
importance: Undecided → High
status: New → Confirmed
visibility: private → public
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.