glance/glance/tests
Matthew Treinish c09d157960
Add external lock to image cache sqlite driver db init
This commit adds an external lock to sqlite when launching multiple
worker processes (using uwsgi) the db init will fail for one since the 2
workers will race for initializing the DB. The method is idempotent so
we can safely run it twice in succession, but the lock is necessary to
provides us protection against running it at the same time.

Depends-On: I9a66a8636d12037ff9aa4fb73cc3f9b9343dd7e9
Change-Id: I654c3a5604a89402ba94d9cea44699a48583a7e0
2017-06-18 03:52:18 -04:00
..
etc Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
functional Add external lock to image cache sqlite driver db init 2017-06-18 03:52:18 -04:00
integration Remove usage of parameter enforce_type 2017-05-31 14:32:20 +08:00
unit Remove duplicate key from dictionary 2017-06-02 12:22:52 +05:30
var Support importing OVA/OVF package to Glance 2016-02-24 14:35:19 -08:00
__init__.py Invoke Monkey Patching for All Tests 2017-03-22 11:46:28 -05:00
stubs.py Remove verbose option from glance tests 2016-05-26 15:00:11 +00:00
test_hacking.py Hacking checks for not using dict iteration calls 2016-01-25 21:54:08 -08:00
utils.py Fix and enable integration tests on py35. 2017-04-06 18:14:46 +00:00