Run with the Sqlite Db in memory, not in a file.

Registered by Tim Simpson

Right now we run fake mode and the tox tests with the sqlite db saved to a file. We don't actually require persistance though and its hurting our ability to use sqlite in testr parallel test runs, so we need to change that so we run with the sqlite db in memory instead.

Blueprint information

Status:
Complete
Approver:
Michael Basnight
Priority:
High
Drafter:
None
Direction:
Approved
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Nikhil Manchanda

Related branches

Sprints

Whiteboard

I (Greg Hill) took a quick stab at this and it seems to not work with the sqlalchemy migrate code:

DatabaseMigrationError: database 'sqlite://' is not under migration control

All the online docs indicate that is the correct syntax for an in-memory sqlite db under sqlalchemy, but migrate chokes on it. Maybe we just need a newer version of sqlalchemy?

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.