TestMigrations should default to sqlite
Bug #851216 reported by
Brian Waldon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Jay Pipes |
Bug Description
Currently, TestMigrations will fail if a config file cannot be loaded. Instead, it should not fail and simply default to a local sqlite database.
Changed in glance: | |
milestone: | none → 2011.3 |
importance: | Undecided → Low |
Changed in glance: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/457 github. com/openstack/ glance/ commit/ f45db5e754cd304 61f47fe1b65f8cf 3681d05874
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit f45db5e754cd304 61f47fe1b65f8cf 3681d05874
Author: Jay Pipes <email address hidden>
Date: Thu Sep 15 18:49:40 2011 -0400
Fixes Bug #851216
Fixes a recurring issue with tests that were
decorated with the @runs_sql decorator where the
file-based SQLite registry database used in those
tests was not being properly cleaned up, which was causing
some random-looking failures when python setup.py test was
run for the DEB builders on Jenkins.
According to Monty, files needed in testing do indeed need .conf
to be in MANIFEST.in, so I added the test_migrations
file to that. Sorry, BrianW!
Change-Id: I6535b999921d15 9de5d957f6b70df 3c13310e449