From bd21c75eaad9ac11d1f309a0cee5c6d1f569d220 Mon Sep 17 00:00:00 2001 From: Erik Olof Gunnar Andersson Date: Sat, 28 Jan 2023 22:14:07 -0800 Subject: [PATCH] Fix to support batch increment serial Change-Id: Ie2579c929875768c94658aef58bf97437ca92477 --- designate_tempest_plugin/tests/scenario/v2/test_zones.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/designate_tempest_plugin/tests/scenario/v2/test_zones.py b/designate_tempest_plugin/tests/scenario/v2/test_zones.py index 74f95630..4e9affc9 100644 --- a/designate_tempest_plugin/tests/scenario/v2/test_zones.py +++ b/designate_tempest_plugin/tests/scenario/v2/test_zones.py @@ -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"