We need the ability to run database tests on mysql in addition to sqlite
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Fix Released
|
High
|
Sean Dague |
Bug Description
Unit tests in projects such as nova which work on the database only work with sqlite databases. In most cases this isn't an issue, but items like migrations actually are different depending on the different databases used. We need the ability to have these tests work with mysql (and later postgresql and others) as well.
The proposed mechanism is to assume there will be a mysql database setup with a predefined name / user / password that should be unique to us, like 'openstack_
Changed in openstack-ci: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → folsom |
Changed in openstack-ci: | |
status: | Triaged → Fix Released |
assignee: | Devananda (devananda) → Sean Dague (sdague-b) |
The nova-specific bits of this have been done - now we need a build slave template that has mysql installed in a manner such that when the nova unittests are run, they exercise this code path. We probably want this to be a jclouds triggered build slave, so that we don't have to worry about cleaning out databases each time.