Set max_microversion 2.42 for hosts tests
The compute os-hosts API is deprecated as of the 2.43 microversion, so we should set max_microversion = '2.42' for hosts tests. ref: https://developer.openstack.org/api-ref/compute/#list-hosts Change-Id: Icc320de1fac272c8973edada7a556079b3dbf5a7
This commit is contained in:
@@ -20,6 +20,8 @@ from tempest.lib import decorators
|
|||||||
class HostsAdminTestJSON(base.BaseV2ComputeAdminTest):
|
class HostsAdminTestJSON(base.BaseV2ComputeAdminTest):
|
||||||
"""Tests hosts API using admin privileges."""
|
"""Tests hosts API using admin privileges."""
|
||||||
|
|
||||||
|
max_microversion = '2.42'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setup_clients(cls):
|
def setup_clients(cls):
|
||||||
super(HostsAdminTestJSON, cls).setup_clients()
|
super(HostsAdminTestJSON, cls).setup_clients()
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ from tempest.lib import exceptions as lib_exc
|
|||||||
class HostsAdminNegativeTestJSON(base.BaseV2ComputeAdminTest):
|
class HostsAdminNegativeTestJSON(base.BaseV2ComputeAdminTest):
|
||||||
"""Tests hosts API using admin privileges."""
|
"""Tests hosts API using admin privileges."""
|
||||||
|
|
||||||
|
max_microversion = '2.42'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setup_clients(cls):
|
def setup_clients(cls):
|
||||||
super(HostsAdminNegativeTestJSON, cls).setup_clients()
|
super(HostsAdminNegativeTestJSON, cls).setup_clients()
|
||||||
|
|||||||
Reference in New Issue
Block a user