From fc508e8999fbb2d96a8dcfb484aee8293817f9a7 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Tue, 7 Nov 2023 15:24:03 +0200 Subject: [PATCH] [bobcat] Disable changing default_ttl test due to designate bug In designate bobcat the designate team re-organised the sql-alchemy code and this has resulted in the bug [1] that means that the default values for various zone creations are no longer used from the /etc/designate/designate.conf file. i.e. the defaults are fixed. Related-Bug: LP#2042944 (cherry picked from commit a365823de060e3f005a343a973bda6f184c118bb) --- zaza/openstack/charm_tests/designate/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zaza/openstack/charm_tests/designate/tests.py b/zaza/openstack/charm_tests/designate/tests.py index 73a434c4e..ed68a8c93 100644 --- a/zaza/openstack/charm_tests/designate/tests.py +++ b/zaza/openstack/charm_tests/designate/tests.py @@ -134,6 +134,12 @@ def wait(): def test_300_default_soa_config_options(self): """Configure default SOA options.""" + current_release = openstack_utils.get_os_release() + jammy_antelope = openstack_utils.get_os_release('jammy_antelope') + if current_release > jammy_antelope: + self.skipTest('changing default ttl is currently broken since ' + 'jammy_bobcat due to LP#2042944') + test_domain = "test_300_example.com." DEFAULT_TTL = 60 alternate_config = {'default-soa-minimum': 600,