Fix for ingress/egress rules tests.

Openstack API interface changed.
If rules are created with full permissions (ports 1 - 65535),
they are created with ports "null"
instead of (ports 1 - 65535).

Change-Id: I24d1a0016f76f6813a9f62294e7eeb9785fa711b
This commit is contained in:
Dmitry_Eremeev 2020-02-06 13:45:16 +03:00
parent 7a03c4417f
commit bd23b1bb99
1 changed files with 0 additions and 10 deletions

View File

@ -228,22 +228,12 @@ class SecurityGroupInVPCTest(SecurityGroupBaseTest):
VpcId=self.vpc_id, GroupName='', Description=valid) VpcId=self.vpc_id, GroupName='', Description=valid)
@decorators.idempotent_id('3460cefd-c759-4738-ba75-b275939aad1d') @decorators.idempotent_id('3460cefd-c759-4738-ba75-b275939aad1d')
@testtools.skip(
"Temporarily skipped to merge fix"
" encoding/decoding in paging of"
" universal describer class"
)
def test_ingress_rules(self): def test_ingress_rules(self):
self._test_rules(self.client.authorize_security_group_ingress, self._test_rules(self.client.authorize_security_group_ingress,
self.client.revoke_security_group_ingress, self.client.revoke_security_group_ingress,
'IpPermissions', self.vpc_id) 'IpPermissions', self.vpc_id)
@decorators.idempotent_id('74a5de83-69b4-4cc5-9431-e4c1f691f0c1') @decorators.idempotent_id('74a5de83-69b4-4cc5-9431-e4c1f691f0c1')
@testtools.skip(
"Temporarily skipped to merge fix"
" encoding/decoding in paging of"
" universal describer class"
)
def test_egress_rules(self): def test_egress_rules(self):
self._test_rules(self.client.authorize_security_group_egress, self._test_rules(self.client.authorize_security_group_egress,
self.client.revoke_security_group_egress, self.client.revoke_security_group_egress,