Plugin aware extensions should also be reset at each test setup
PluginAwareExtensionManager caches extension according plugin.
At each db plugin test setup, testing plugin and router are newly
created.
However, the extension manager held the extensions for first time
loaded plugin. Because of their cache.
So if a plugin conditional extension exists, it could not be loaded by
testing order.
Reviewed: https:/ /review. openstack. org/12105 github. com/openstack/ quantum/ commit/ 19e553e1deeb893 9decd1ed9554a3c 6eb6770386
Committed: http://
Submitter: Jenkins
Branch: master
commit 19e553e1deeb893 9decd1ed9554a3c 6eb6770386
Author: Yusuke Muraoka <email address hidden>
Date: Tue Aug 28 09:59:42 2012 +0000
Plugin aware extensions should also be reset at each test setup
PluginAware ExtensionManage r caches extension according plugin.
At each db plugin test setup, testing plugin and router are newly
created.
However, the extension manager held the extensions for first time
loaded plugin. Because of their cache.
So if a plugin conditional extension exists, it could not be loaded by
testing order.
Fixes bug 1043381.
Change-Id: Ic994aab61c3d67 aa9d42259448404 9f41ff8b321