Skip to content

Commit

Permalink
Adjust basic_setup to run upgrade for < ocata
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Bryant committed May 28, 2020
1 parent 19725c7 commit c98aa00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zaza/openstack/charm_tests/ceilometer/setup.py
Expand Up @@ -28,11 +28,11 @@ def basic_setup():
tests.
"""
current_release = openstack_utils.get_os_release()
xenial_pike = openstack_utils.get_os_release('xenial_pike')
xenial_ocata = openstack_utils.get_os_release('xenial_ocata')

if current_release < xenial_pike:
if current_release < xenial_ocata:
logging.info(
'Skipping ceilometer-upgrade as it is not supported before Pike')
'Skipping ceilometer-upgrade as it is not supported before ocata')
return

logging.debug('Checking ceilometer-upgrade')
Expand Down

0 comments on commit c98aa00

Please sign in to comment.