From eb487fb06c1930727eef5c854c7577c1fbbb63fa Mon Sep 17 00:00:00 2001 From: Edward Hope-Morley Date: Tue, 5 Sep 2023 14:45:57 +0100 Subject: [PATCH] Skip glance cinderbackend tests for < xena (cherry picked from commit ddd99ba582a5e671ae4cab7c637a655ab77fa455) (cherry picked from commit ef5d453e4b7e252c0a40abcfcdccaa2381d2778a) --- zaza/openstack/charm_tests/glance/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zaza/openstack/charm_tests/glance/tests.py b/zaza/openstack/charm_tests/glance/tests.py index 8f3583d9f..f72e778fc 100644 --- a/zaza/openstack/charm_tests/glance/tests.py +++ b/zaza/openstack/charm_tests/glance/tests.py @@ -243,6 +243,12 @@ def test_100_create_delete_image(self): Validate the size of the image in both Glance API and Cinder API. """ + current_release = openstack_utils.get_os_release() + focal_xena = openstack_utils.get_os_release('focal_xena') + if current_release < focal_xena: + self.skipTest('skipping test since cinder backend not supported ' + 'till xena') + image_name = "zaza-cinder-test-image" openstack_utils.create_image( glance=self.glance_client,