From 389b5622cdb306f33d96cbd1fbb458caaf8d15a0 Mon Sep 17 00:00:00 2001 From: zhufl Date: Tue, 27 Mar 2018 17:00:47 +0800 Subject: [PATCH] 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 --- tempest/api/compute/servers/test_virtual_interfaces.py | 1 + tempest/api/compute/servers/test_virtual_interfaces_negative.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tempest/api/compute/servers/test_virtual_interfaces.py b/tempest/api/compute/servers/test_virtual_interfaces.py index 5fb17118af..f810ec5b5c 100644 --- a/tempest/api/compute/servers/test_virtual_interfaces.py +++ b/tempest/api/compute/servers/test_virtual_interfaces.py @@ -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 diff --git a/tempest/api/compute/servers/test_virtual_interfaces_negative.py b/tempest/api/compute/servers/test_virtual_interfaces_negative.py index ec4d7a827f..f6e8bc9eb3 100644 --- a/tempest/api/compute/servers/test_virtual_interfaces_negative.py +++ b/tempest/api/compute/servers/test_virtual_interfaces_negative.py @@ -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