Cleanup zone in test_share_imported_zone
the test was removing the zone import it created, but not the zone
that was created during import.
Related-Issue: PRODX-40358
Change-Id: I15cc7e75bfbdcc362322d5ff51f42d538eff55c0
diff --git a/designate_tempest_plugin/tests/scenario/v2/test_shared_zones.py b/designate_tempest_plugin/tests/scenario/v2/test_shared_zones.py
index 03932dc..fca2ff2 100644
--- a/designate_tempest_plugin/tests/scenario/v2/test_shared_zones.py
+++ b/designate_tempest_plugin/tests/scenario/v2/test_shared_zones.py
@@ -279,6 +279,8 @@
# Primary shares previously created zone with Alt user
zone_id = self.primary_import_client.show_zone_import(
zone_import['id'])[1]['zone_id']
+ self.addCleanup(self.wait_zone_delete, self.zones_client, zone_id)
+
shared_zone = self.share_zone_client.create_zone_share(
zone_id, self.alt_rec_client.project_id)[1]
self.addCleanup(self.share_zone_client.delete_zone_share,