aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-08-30 07:47:48 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-08-30 07:47:48 +0200
commit3eec6556fa20e51d5e6596253393199469c83556 (patch)
tree693bb57fc63cc359c8fb41d38bd4fb2f258ddc98
parentc3cb30973bd96cc2e562f24277c7d19433900d89 (diff)
Ensure len(project_name) < 64
https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/259/console https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/428/console Change-Id: Ib64878962a71b6b45ef039fce8bfaa43172b2498 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/core/tenantnetwork.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/core/tenantnetwork.py b/functest/core/tenantnetwork.py
index b9b077043..a96484f28 100644
--- a/functest/core/tenantnetwork.py
+++ b/functest/core/tenantnetwork.py
@@ -59,7 +59,7 @@ class NewProject(object):
name_or_id=self.orig_cloud.auth.get(
"project_domain_name", "Default"))
self.project = self.orig_cloud.create_project(
- name='{}-project_{}'.format(self.case_name, self.guid),
+ name='{}-project_{}'.format(self.case_name[:18], self.guid),
description="Created by OPNFV Functest: {}".format(
self.case_name),
domain_id=self.domain.id)