diff options
author | ricolin <rico.lin@easystack.cn> | 2017-04-24 23:51:09 +0800 |
---|---|---|
committer | ricolin <rico.lin@easystack.cn> | 2017-05-17 01:32:54 +0800 |
commit | a41b5cf5eb2fcb3ab999c2eaee0838d5ca10f6e6 (patch) | |
tree | b6899fde7c63912e90ff55e063783f6c3de44709 /heat_integrationtests/common/test.py | |
parent | e8e0a2483a8cd0edbd0ec77d92d638974c72f290 (diff) | |
download | heat-a41b5cf5eb2fcb3ab999c2eaee0838d5ca10f6e6.tar.gz |
Change user name limit to 255 characters
Origin user name limit in heat is 64 characters. but the max acceptable
username limit should be 255 in keystone.
This patch propose to change the limit to 255
Also, this can avoid warning from heat keystone client in heat
integration tests.
Closes-Bug: #1685817
Change-Id: I7b9e7076bd700c086b07f13dadf89531579aa4a1
Diffstat (limited to 'heat_integrationtests/common/test.py')
-rw-r--r-- | heat_integrationtests/common/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heat_integrationtests/common/test.py b/heat_integrationtests/common/test.py index f2e7dd75c..842f4e774 100644 --- a/heat_integrationtests/common/test.py +++ b/heat_integrationtests/common/test.py @@ -61,7 +61,7 @@ def call_until_true(duration, sleep_for, func, *args, **kwargs): def rand_name(name=''): - randbits = str(random.randint(1, 0x7fffffff)) + randbits = six.text_type(random.randint(1, 0x7fffffff)) if name: return name + '-' + randbits else: |