commit f374022359793dbcd7346743e4345ab4ab9fcb79
Author: Stephen Finucane <email address hidden>
Date: Thu Aug 12 15:59:32 2021 +0100
Resolve compatibility with oslo.db future
Change I468048c01455d9dfe12004736c181806dc218e37 in oslo.db means that
the table returned from 'oslo_db.utils.get_table' is no longer bound to
a 'Connection' or 'Engine'. Get out ahead of this breaking change by
creating out own 'Connection' as part of the test. Note that we use
'Connection.execute' instead of 'Engine.execute' as the latter is
deprecated in SQLAlchemy 1.4 for removal in 2.0.
Related-Bug: #1939716
Change-Id: I957d2a9d7c875120bed0022ce1e953b2ec9f97cd
Signed-off-by: Stephen Finucane <email address hidden>
Reviewed: https:/ /review. opendev. org/c/openstack /glance/ +/804406 /opendev. org/openstack/ glance/ commit/ f374022359793db cd7346743e4345a b4ab9fcb79
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f374022359793db cd7346743e4345a b4ab9fcb79
Author: Stephen Finucane <email address hidden>
Date: Thu Aug 12 15:59:32 2021 +0100
Resolve compatibility with oslo.db future
Change I468048c01455d9 dfe12004736c181 806dc218e37 in oslo.db means that utils.get_ table' is no longer bound to .execute' instead of 'Engine.execute' as the latter is
the table returned from 'oslo_db.
a 'Connection' or 'Engine'. Get out ahead of this breaking change by
creating out own 'Connection' as part of the test. Note that we use
'Connection
deprecated in SQLAlchemy 1.4 for removal in 2.0.
Related-Bug: #1939716
Change-Id: I957d2a9d7c8751 20bed0022ce1e95 3b2ec9f97cd
Signed-off-by: Stephen Finucane <email address hidden>