Skip to content

Commit

Permalink
Merge pull request #1113 from dosaboy/skip-glance-cinder-backend-test…
Browse files Browse the repository at this point in the history
…-lt-xena--backport-xena

Skip glance cinderbackend tests for < xena
  • Loading branch information
ajkavanagh authored Sep 5, 2023
2 parents ac81131 + b86d50c commit fe5fa60
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 @@ -242,6 +242,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 fe5fa60

Please sign in to comment.