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
diff --git a/common/test.py b/common/test.py
index f2e7dd7..842f4e7 100644
--- a/common/test.py
+++ b/common/test.py
@@ -61,7 +61,7 @@
def rand_name(name=''):
- randbits = str(random.randint(1, 0x7fffffff))
+ randbits = six.text_type(random.randint(1, 0x7fffffff))
if name:
return name + '-' + randbits
else: