Skip to content

Commit

Permalink
Skip glance cinderbackend tests for < xena
Browse files Browse the repository at this point in the history
(cherry picked from commit ddd99ba)
(cherry picked from commit ef5d453)
  • Loading branch information
dosaboy committed Sep 5, 2023
1 parent 857918a commit eb487fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zaza/openstack/charm_tests/glance/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eb487fb

Please sign in to comment.