mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 11:04:10 +00:00
* Reverting changes to clickhouse-test as it seems to cause some tests to fail
* Updating client.py to use CLICKHOUSE_BINARY env variable instead of CLICKHOUSE_CLIENT
This commit is contained in:
parent
117f2d191e
commit
6cca6d359d
@ -258,7 +258,7 @@ def main(args):
|
|||||||
|
|
||||||
# Keep same default values as in queries/shell_config.sh
|
# Keep same default values as in queries/shell_config.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_CONFIG", args.configserver)
|
||||||
if args.configclient:
|
if args.configclient:
|
||||||
os.environ.setdefault("CLICKHOUSE_CONFIG_CLIENT", args.configclient)
|
os.environ.setdefault("CLICKHOUSE_CONFIG_CLIENT", args.configclient)
|
||||||
|
@ -12,7 +12,7 @@ end_of_block = r'.*\r\n.*\r\n'
|
|||||||
|
|
||||||
def client(command=None, name='', log=None):
|
def client(command=None, name='', log=None):
|
||||||
if command is None:
|
if command is None:
|
||||||
client = uexpect.spawn(os.environ.get('CLICKHOUSE_CLIENT'))
|
client = uexpect.spawn(os.environ.get('CLICKHOUSE_BINARY', 'clickhouse') + '-client')
|
||||||
else:
|
else:
|
||||||
client = uexpect.spawn(command)
|
client = uexpect.spawn(command)
|
||||||
client.eol('\r')
|
client.eol('\r')
|
||||||
|
Loading…
Reference in New Issue
Block a user