← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1064419] Re: Use inmemory SQLite database for SQL unittests

 

This is no longer an issue.  The database is now saved in tests/tmp.
The tests/tmp directory can be mounted in a ram disk, bypasing the tox
issue.

** Changed in: keystone
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1064419

Title:
  Use inmemory SQLite database for SQL unittests

Status in OpenStack Identity (Keystone):
  Won't Fix

Bug description:
  Once we move to tox,  using a memory based FS mount for tests will no
  longer work, as tox uses hardlinks, and they cannot be done across
  mount points.  SQLite on the Fedora based default fileystem type of
  ext4 is very slow.  The fastest way to speed up the unit tests is to
  use an in memory database instead of the filesystem based one.  It
  will require a continuity of processes between the code that creates
  the database and the unit test, as they will have to share the memory
  space that the db is in.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1064419/+subscriptions