Migration 227 doesn't run tests against sqlite despite modifying it.
Bug #1240751 reported by
Joshua Hesketh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Joshua Hesketh |
Bug Description
Currently the check for migration 227 looks like:
def _check_227(self, engine, data):
if engine.name == 'sqlite':
return
Despite the migration affecting sqlite. The check also assumes a row exists in 'project_
The check should not assume any data already exists and insert any test data it should need in _pre_upgrade_227.
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
The actual check for id=4 to exist actually has nothing to do with the migration so it can be removed safely.