commit 405a914db7d2938a76384821e556df9024e6c8ac
Author: Brant Knudson <email address hidden>
Date: Sat May 18 14:28:34 2013 -0500
Clear cached engine when global engine changes
The keystone.common.sql.core.Base class cached the global database
engine when get_session() was called. When the global database engine
changed to a new instance, the cached copy was used in subsequent
calls to get_session(), leading to using the old engine and tests
failing to run by themselves.
This change makes it so that when the global database engine is
changed, Base will use the new engine rather than the invalid one.
Reviewed: https:/ /review. openstack. org/29670 github. com/openstack/ keystone/ commit/ 405a914db7d2938 a76384821e556df 9024e6c8ac
Committed: http://
Submitter: Jenkins
Branch: master
commit 405a914db7d2938 a76384821e556df 9024e6c8ac
Author: Brant Knudson <email address hidden>
Date: Sat May 18 14:28:34 2013 -0500
Clear cached engine when global engine changes
The keystone. common. sql.core. Base class cached the global database
engine when get_session() was called. When the global database engine
changed to a new instance, the cached copy was used in subsequent
calls to get_session(), leading to using the old engine and tests
failing to run by themselves.
This change makes it so that when the global database engine is
changed, Base will use the new engine rather than the invalid one.
Change-Id: I75aa3c230d9b4f d666ab8d478c9e9 a27669905e8
Fixes: Bug #1179259