9db653a974
oslo.db 12.1.0 uncovered some issues in functional tests, Fix:- - test__get_dvr_subnet_ids_on_host_query by adding a db reader context as without it _get_dvr_subnet_ids_on_host_query method was returning a query object with an active db context and other db transactions can't be executed with an active context. - test_get_total_reservations_map by adding a db reader context for get_total_reservations_map call - _TestIsSessionActive by calling neutron.objects.network as it looks for active session and since now autocommit is False for active session we need to have _connections[1] in transaction object. [1] https://review.opendev.org/c/openstack/neutron/+/843256 Co-authored-by: Yatin Karel <ykarel@redhat.com> Closes-bug: #1989057 Change-Id: Ic0b91f03b4eea817fa130e28236d7e007b481e30 |
||
---|---|---|
.. | ||
plugins | ||
__init__.py | ||
test_quota.py |