Ensure that octavia sets up application_name

When running in a deployment that is focused on bundles rather
than a specific charm, the Octavia setup can fail because there
is no configured charm_name in the tests.yaml. This change
ensures that the Octavia setup can continue.
This commit is contained in:
Chris MacNaughton
2020-08-28 13:55:42 +02:00
committed by GitHub
parent 4c5c7d0b4b
commit dd2802057f
+1 -1
View File
@@ -92,7 +92,7 @@ def configure_octavia():
del test_config['target_deploy_status']['octavia']
_singleton = zaza.openstack.charm_tests.test_utils.OpenStackBaseTest()
_singleton.setUpClass()
_singleton.setUpClass(application_name='octavia')
with _singleton.config_change(cert_config, cert_config):
# wait for configuration to be applied then return
pass