Fix test_update_address_scope_shared

test_update_address_scope_shared currently fails as shared address
scope can't be unshared [1].

It would have detected in gates if neutron-tempest-plugin was
installed [2] (as it's in opnfv/functest-smoke:latest).

[1] https://github.com/openstack/neutron/blob/master/neutron/db/address_scope_db.py#L87
[2] http://logs.openstack.org/47/599047/3/check/patrole-admin/11872d4/job-output.txt.gz

Change-Id: I72f0cde1dab2d0a1949b55490375e8441394353d
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
This commit is contained in:
Cédric Ollivier 2018-10-21 15:22:38 +02:00
parent 0c7f83ea17
commit 2238c69f46
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class AddressScopeRbacTest(base.BaseNetworkPluginRbacTest):
address_scope = self._create_address_scope(shared=True)
with self.rbac_utils.override_role(self):
self.ntp_client.update_address_scope(address_scope['id'],
shared=False)
shared=True)
@rbac_rule_validation.action(service="neutron",
rules=["get_address_scope",