Fix log_comment for *.sh in clickhouse-test

setdefault will set it only once
This commit is contained in:
Azat Khuzhin 2021-03-13 18:05:24 +03:00
parent b2a6a8feb8
commit 334520557c

View File

@ -138,7 +138,7 @@ def run_single_test(args, ext, server_logs_level, client_options, case_file, std
os.environ["CLICKHOUSE_DATABASE"] = database os.environ["CLICKHOUSE_DATABASE"] = database
# This is for .sh tests # This is for .sh tests
os.environ.setdefault("CLICKHOUSE_LOG_COMMENT", case_file) os.environ["CLICKHOUSE_LOG_COMMENT"] = case_file
params = { params = {
'client': args.client + ' --database=' + database, 'client': args.client + ' --database=' + database,