Set max_microversion 2.43 for virtual_interfaces tests

The compute os-virtual-interfaces API is deprecated from the
Microversion 2.44, so we should set max_microversion = '2.43'
for compute virtual_interfaces tests.

Change-Id: Ie1793802fa33898ffbdad16b58b085894e66d4d1
ref: https://developer.openstack.org/api-ref/compute/#list-virtual-interfaces
This commit is contained in:
zhufl 2018-03-27 17:00:47 +08:00
parent de5f0da10e
commit 389b5622cd
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ CONF = config.CONF
# TODO(mriedem): Remove this test class once the nova queens branch goes into
# extended maintenance mode.
class VirtualInterfacesTestJSON(base.BaseV2ComputeTest):
max_microversion = '2.43'
depends_on_nova_network = True

View File

@ -23,6 +23,7 @@ from tempest.lib import exceptions as lib_exc
# TODO(mriedem): Remove this test class once the nova queens branch goes into
# extended maintenance mode.
class VirtualInterfacesNegativeTestJSON(base.BaseV2ComputeTest):
max_microversion = '2.43'
depends_on_nova_network = True