Merge pull request #32094 from azat/clickhouse-test-longer-db

Increase length of random database in clickhouse-test
This commit is contained in:
alesapin 2021-12-02 10:58:40 +03:00 committed by GitHub
commit d273a8db7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,7 +371,7 @@ class TestCase:
else:
# If --database is not specified, we will create temporary database with unique name
# And we will recreate and drop it for each test
def random_str(length=6):
def random_str(length=8):
alphabet = string.ascii_lowercase + string.digits
return ''.join(random.choice(alphabet) for _ in range(length))