Add bionic stein to aodh tests

This commit is contained in:
Liam Young
2019-09-23 08:27:06 +01:00
parent 3209e2db2b
commit d41f54f239
+2 -3
View File
@@ -34,6 +34,7 @@ class AodhTest(test_utils.OpenStackBaseTest):
super(AodhTest, cls).setUpClass()
cls.xenial_ocata = openstack_utils.get_os_release('xenial_ocata')
cls.xenial_newton = openstack_utils.get_os_release('xenial_newton')
cls.bionic_stein = openstack_utils.get_os_release('bionic_stein')
cls.release = openstack_utils.get_os_release()
@property
@@ -89,9 +90,7 @@ class AodhTest(test_utils.OpenStackBaseTest):
Pause service and check services are stopped then resume and check
they are started
"""
xenial_ocata = openstack_utils.get_os_release('xenial_ocata')
xenial_newton = openstack_utils.get_os_release('xenial_newton')
if self.release >= bionic_stein:
if self.release >= self.bionic_stein:
pgrep_full = True
else:
pgrep_full = False