Disable test_101_neutron_sriov_config on Trusty

https://bugs.launchpad.net/charm-neutron-openvswitch/+bug/1876888
This commit is contained in:
Aurelien Lourot
2020-05-05 16:22:52 +02:00
parent 4ab3681a8c
commit c35b4e0fcf

View File

@@ -438,10 +438,10 @@ class NeutronOpenvSwitchTest(NeutronPluginApiSharedTests):
def test_101_neutron_sriov_config(self):
"""Verify data in the sriov agent config file."""
trusty_kilo = openstack_utils.get_os_release('trusty_kilo')
if self.current_os_release < trusty_kilo:
xenial_mitaka = openstack_utils.get_os_release('xenial_mitaka')
if self.current_os_release < xenial_mitaka:
logging.debug('Skipping test, sriov agent not supported on < '
'trusty/kilo')
'xenial/mitaka')
return
zaza.model.set_application_config(