Update clickhouse-test

This commit is contained in:
alexey-milovidov 2019-06-15 22:20:56 +03:00 committed by GitHub
parent a09f715265
commit f90d667782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ def run_single_test(args, ext, server_logs_level, case_file, stdout_file, stderr
while (datetime.now() - start_time).total_seconds() < args.timeout and proc.poll() is None:
sleep(0.01)
# Normalize randomized database names in stdout, stderr files.
os.system("sed -i 's/{test_db}/default/g' {file}".format(test_db=args.database, file=stdout_file))
os.system("sed -i 's/{test_db}/default/g' {file}".format(test_db=args.database, file=stderr_file))