Cap additional nova-network tests at Queens

As noted in I7aea99d7c1818b8edcda41ba4eaa062a8ea069eb, nova is working
on removing the nova-network only compute REST APIs in the Rocky
release, which means any requests to those APIs after Queens will result
in a 410 response, regardless of microversion or whether or not neutron
is being used.

The os-floating-ips-bulk API is being removed in nova change
I89d081108b398d8efba9636279088c61349b21e6. As a result,
os-floating-ips-bulk tests will no longer works against Rocky+ versions
of nova. Skip this test using the check added in the previous change.

Related to blueprint remove-nova-network

Change-Id: I8c60310cd5d1795b4493ab4c113d614d2208f615
This commit is contained in:
Stephen Finucane
2018-07-16 13:46:42 +01:00
parent de5f0da10e
commit 5a7e97ea04

View File

@@ -25,6 +25,8 @@ from tempest.lib import exceptions
CONF = config.CONF
# TODO(stephenfin): Remove this test class once the nova queens branch goes
# into extended maintenance mode.
class FloatingIPsBulkAdminTestJSON(base.BaseV2ComputeAdminTest):
"""Tests Floating IPs Bulk APIs that require admin privileges.
@@ -32,6 +34,7 @@ class FloatingIPsBulkAdminTestJSON(base.BaseV2ComputeAdminTest):
content/ext-os-floating-ips-bulk.html
"""
max_microversion = '2.35'
depends_on_nova_network = True
@classmethod
def setup_clients(cls):