From d76e639a27d478589c33ce59ac704d90d8b4c872 Mon Sep 17 00:00:00 2001 From: AvnishPal Date: Wed, 24 Aug 2016 10:12:52 +0530 Subject: [PATCH] Fix tempest.conf generation [service_available] is not being generated. This patch fixes it. Change-Id: Ib1ff7557f6692ab8dc640f932b40aeb8f6bc460a Closes-Bug: #1613542 --- congress_tempest_tests/plugin.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/congress_tempest_tests/plugin.py b/congress_tempest_tests/plugin.py index 8d8b776d4..68ab4f83e 100644 --- a/congress_tempest_tests/plugin.py +++ b/congress_tempest_tests/plugin.py @@ -31,9 +31,16 @@ class CongressTempestPlugin(plugins.TempestPlugin): return full_test_dir, base_path def register_opts(self, conf): + config.register_opt_group(conf, + config_congress.service_available_group, + config_congress.ServiceAvailableGroup) config.register_opt_group(conf, config_congress.congressha_group, config_congress.CongressHAGroup) def get_opt_lists(self): - return [(config_congress.congressha_group.name, - config_congress.CongressHAGroup)] + return [ + (config_congress.congressha_group.name, + config_congress.CongressHAGroup), + (config_congress.service_available_group.name, + config_congress.ServiceAvailableGroup) + ]