Test: fill CLICKHOUSE_CONFIG from args.configserver

This commit is contained in:
proller 2018-04-26 23:02:10 +03:00
parent e152f223c9
commit bef63d1dd0

View File

@ -76,6 +76,7 @@ def main(args):
# Keep same default values as in queries/0_stateless/00000_sh_lib.sh # Keep same default values as in queries/0_stateless/00000_sh_lib.sh
os.environ.setdefault("CLICKHOUSE_BINARY", args.binary) os.environ.setdefault("CLICKHOUSE_BINARY", args.binary)
os.environ.setdefault("CLICKHOUSE_CLIENT", args.client) os.environ.setdefault("CLICKHOUSE_CLIENT", args.client)
os.environ.setdefault("CLICKHOUSE_CONFIG", args.configserver)
os.environ.setdefault("CLICKHOUSE_TMP", tmp_dir) os.environ.setdefault("CLICKHOUSE_TMP", tmp_dir)
# TODO ! use clickhouse-extract-from-config here: # TODO ! use clickhouse-extract-from-config here: