diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-08-30 07:47:48 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-08-30 09:17:36 +0200 |
commit | 30fc5f1f2d1ef94d94a96b54739f82fac8b1aecd (patch) | |
tree | 8a3a98b908ba5ff5ab82a08ae110c2f874cacdfe | |
parent | 6f2eba2f3f82f2e145f293f4daf00564d5b312dd (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>
(cherry picked from commit 3eec6556fa20e51d5e6596253393199469c83556)
-rw-r--r-- | functest/core/tenantnetwork.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/core/tenantnetwork.py b/functest/core/tenantnetwork.py index 4ca5fdb54..40b25e726 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) |