aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/tempest/conf_utils.py
diff options
context:
space:
mode:
authorDimitri Mazmanov <dimitri.mazmanov@ericsson.com>2017-03-23 10:05:11 +0100
committerDimitri Mazmanov <dimitri.mazmanov@ericsson.com>2017-03-23 10:19:12 +0100
commitd832b215a844cc2e0008eb0a86b689830e0277bb (patch)
treef048a45c4e2933f03e29af52b723f681467b0c8a /functest/opnfv_tests/openstack/tempest/conf_utils.py
parent62b5eb7fcec9b9ced3dfdd721a656c98538bfc7c (diff)
Replace domain name from Default to default
The tests don't pass if the domain name is Default. Instead the domain id 'default' should be used. Change-Id: Ife919f79f007ab3fea3d53744634a92ddb172c23 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/tempest/conf_utils.py')
-rw-r--r--functest/opnfv_tests/openstack/tempest/conf_utils.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py
index a21322d8..1b718269 100644
--- a/functest/opnfv_tests/openstack/tempest/conf_utils.py
+++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py
@@ -392,8 +392,12 @@ def configure_tempest_multisite_params(tempest_conf_file):
config.add_section("kingbird")
except Exception:
logger.info('kingbird section exist')
+
+ # set the domain id
+ config.set('auth', 'admin_domain_name', 'default')
+
config.set('kingbird', 'endpoint_type', 'publicURL')
- config.set('kingbird', 'TIME_TO_SYNC', '20')
+ config.set('kingbird', 'TIME_TO_SYNC', '120')
config.set('kingbird', 'endpoint_url', kingbird_endpoint_url)
config.set('kingbird', 'api_version', kingbird_api_version)
with open(tempest_conf_file, 'wb') as config_file: