Replace domain name from Default to default 87/31587/1
authorDimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Thu, 23 Mar 2017 09:05:11 +0000 (10:05 +0100)
committerJose Lausuch <jose.lausuch@ericsson.com>
Thu, 23 Mar 2017 14:44:01 +0000 (14:44 +0000)
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>
(cherry picked from commit d832b215a844cc2e0008eb0a86b689830e0277bb)

functest/opnfv_tests/openstack/tempest/conf_utils.py

index a21322d..1b71826 100644 (file)
@@ -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: