Merge "Fix to support batch increment serial"

This commit is contained in:
Zuul 2023-02-14 17:25:03 +00:00 committed by Gerrit Code Review
commit fe4672da25
1 changed files with 3 additions and 3 deletions

View File

@ -232,9 +232,9 @@ class ZonesTest(base.BaseDnsV2Test):
LOG.info("Update Zone's TTL, wait until ACTIVE and"
" ensure Zone's Serial has changed")
updated_zone = self.client.update_zone(
zone['id'], ttl=dns_data_utils.rand_ttl(), wait_until='ACTIVE')[1]
new_serial = updated_zone['serial']
self.client.update_zone(
zone['id'], ttl=dns_data_utils.rand_ttl(), wait_until='ACTIVE')
new_serial = self.client.show_zone(zone['id'])[1]['serial']
self.assertNotEqual(
new_serial, org_serial,
"Failed, expected behaviour is that the Designate DNS changes the"