Browse Source

Verify admin deletion not to fail

This is the test for the scenario described in bug [0], where an admin
deletes resources from a different project, resulting in orphaned DNS
records.

[0] https://launchpad.net/bugs/1875981

Change-Id: Ibc12a80fad28bb54b0416de7dfe14ef67e4420ef
Related-Bug: 1875981
Depends-On: https://review.opendev.org/740675
Depends-On: https://review.opendev.org/740676
Depends-On: https://review.opendev.org/740677
changes/09/728409/3
Dr. Jens Harbott 4 months ago
committed by Jens Harbott (frickler)
parent
commit
9e101bfcbe
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      neutron_tempest_plugin/scenario/test_dns_integration.py

+ 9
- 0
neutron_tempest_plugin/scenario/test_dns_integration.py View File

@@ -158,6 +158,15 @@ class DNSIntegrationAdminTests(BaseDNSIntegrationTests,
self.client.delete_port(port['id'])
self._verify_dns_records(addr, name, found=False)

@decorators.idempotent_id('d44cd5b8-ac67-4965-96ff-cb77ab6aea8b')
def test_fip_admin_delete(self):
name = data_utils.rand_name('fip-test')
fip = self._create_floatingip_with_dns(name)
addr = fip['floating_ip_address']
self._verify_dns_records(addr, name)
self.delete_floatingip(fip, client=self.admin_client)
self._verify_dns_records(addr, name, found=False)


class DNSIntegrationExtraTests(BaseDNSIntegrationTests):



Loading…
Cancel
Save