skip some port_forwarding test

neutron adds port_forwarding id when list floatingip[1], because there
is currently no method to quickly determine the extension that is
actually loaded. updating temptest and neutron patch are interdependent.
first skip some port_forwarding test, after neutron patch merged, add
`floating-ip-port-forwarding-detail` and revalidate the test.

[1] https://review.opendev.org/c/openstack/neutron/+/840565

Change-Id: I8a69d8786350f80d563f98607177c015134be523
This commit is contained in:
zhouhenglc 2022-05-05 16:11:07 +08:00
parent 97af634ac3
commit 02e4fbc4b4
1 changed files with 4 additions and 0 deletions

View File

@ -164,6 +164,8 @@ class PortForwardingTestJSON(base.BaseNetworkTest):
return created_pf
@decorators.idempotent_id('8202cded-7e82-4420-9585-c091105404f6')
@utils.requires_ext(extension="floating-ip-port-forwarding-detail",
service="network")
def test_associate_2_port_forwardings_to_floating_ip(self):
fip = self.create_floatingip()
forwardings_data = [(1111, 2222), (3333, 4444)]
@ -182,6 +184,8 @@ class PortForwardingTestJSON(base.BaseNetworkTest):
self._verify_created_pfs(fip['id'], created_pfs)
@decorators.idempotent_id('a7e6cc48-8a9b-49be-82fb-cef6f5c29381')
@utils.requires_ext(extension="floating-ip-port-forwarding-detail",
service="network")
def test_associate_port_forwarding_to_2_fixed_ips(self):
fip = self.create_floatingip()
port = self.create_port(self.network)