Browse Source

Delete created zone in recordset validation tests

these tests create zones as part of test but do not clean them up
afterwards. This leads to these and following tests in the thread
to fail with overquota when default zone quota is sufficiently low.

Change-Id: I07d1781de84336faa76698895ad5198ae1c259fc
Closes-Bug: #1800454
Pavlo Shchelokovskyy 5 months ago
parent
commit
fd1eb9bbbc

+ 1
- 0
designate_tempest_plugin/tests/api/v2/test_recordset_validation.py View File

@@ -60,6 +60,7 @@ class RecordsetValidationTest(base.BaseDnsV2Test):
60 60
             zone_data = data_utils.rand_zone_data()
61 61
             resp, body = self.zones_client.create_zone(**zone_data)
62 62
             self._zone = body
63
+            self.addCleanup(self.zones_client.delete_zone, body['id'])
63 64
         return self._zone
64 65
 
65 66
     def create_recordset(self, data):

Loading…
Cancel
Save