From dd2802057f7512b4ee537dfb09762c3992460835 Mon Sep 17 00:00:00 2001 From: Chris MacNaughton Date: Fri, 28 Aug 2020 13:55:42 +0200 Subject: [PATCH] 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. --- zaza/openstack/charm_tests/octavia/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/octavia/setup.py b/zaza/openstack/charm_tests/octavia/setup.py index 729fb16..677c368 100644 --- a/zaza/openstack/charm_tests/octavia/setup.py +++ b/zaza/openstack/charm_tests/octavia/setup.py @@ -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