Fix to support batch increment serial

Change-Id: Ie2579c929875768c94658aef58bf97437ca92477
This commit is contained in:
Erik Olof Gunnar Andersson 2023-01-28 22:14:07 -08:00
parent c9429994a4
commit bd21c75eaa
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"