Quota driver is now loaded in lazy mode, i.e. the driver is loaded
the first time the driver is accessed. This is to make unit tests
work. Some unit tests like extension test cases need to use Config
Quota driver (previous default) but QuotaEngine is initialized
when quota.py is imported. Thus the unit tests had no chance to
specify quota_driver.
Reviewed: https:/ /review. openstack. org/50378 github. com/openstack/ neutron/ commit/ 82fee2ff4d298d2 6149a99519f3393 5746f82570
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit 82fee2ff4d298d2 6149a99519f3393 5746f82570
Author: Akihiro MOTOKI <email address hidden>
Date: Mon Oct 7 08:38:07 2013 +0900
Enable Quota DB driver by default
Closes-Bug: #1189671
Quota driver is now loaded in lazy mode, i.e. the driver is loaded
the first time the driver is accessed. This is to make unit tests
work. Some unit tests like extension test cases need to use Config
Quota driver (previous default) but QuotaEngine is initialized
when quota.py is imported. Thus the unit tests had no chance to
specify quota_driver.
Change-Id: I9e20961d5a6322 361e3c0284b3c2a 7ca86755c70