Ignore some PendingDeprecationWarnings for os-vif
os-vif got bumped to 1.14.0 in https://review.openstack.org/572082 and Nova is touching the VIFPortProfileOVSRepresentor class in a supported fashion until at least Train. However, that commit contributes to triggering bug 1813147 in check and gate. The warning is safe to silence and should be converted to an error in Train (once the older path is removed). Change-Id: I9d8175c78f068cf9bdad4aeba0941f6ff49a9acc Signed-off-by: Jan Gutter <jan.gutter@netronome.com> Related-Bug: #1813147 blueprint: generic-os-vif-offloads
This commit is contained in:
parent
570b07e53c
commit
cd1823195f
|
@ -843,6 +843,12 @@ class WarningsFixture(fixtures.Fixture):
|
||||||
'ignore', message='Evaluating non-mapped column expression',
|
'ignore', message='Evaluating non-mapped column expression',
|
||||||
category=sqla_exc.SAWarning)
|
category=sqla_exc.SAWarning)
|
||||||
|
|
||||||
|
# TODO(jangutter): Change (or remove) this to an error during the Train
|
||||||
|
# cycle when the os-vif port profile is no longer used.
|
||||||
|
warnings.filterwarnings(
|
||||||
|
'ignore', message=".* 'VIFPortProfileOVSRepresentor' .* "
|
||||||
|
"is deprecated", category=PendingDeprecationWarning)
|
||||||
|
|
||||||
self.addCleanup(warnings.resetwarnings)
|
self.addCleanup(warnings.resetwarnings)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue