Fix test_input_format_parallel_parsing_memory_tracking::test_memory_tracking_total

Server has pretty low memory limit 3GB, so let's use local to generate
the data.
This commit is contained in:
Azat Khuzhin 2021-10-09 16:15:31 +03:00
parent b8bde2d451
commit c66942bba5

View File

@ -30,7 +30,7 @@ def test_memory_tracking_total():
CREATE TABLE null (row String) ENGINE=Null;
''')
instance.exec_in_container(['bash', '-c',
'clickhouse client -q "SELECT arrayStringConcat(arrayMap(x->toString(cityHash64(x)), range(1000)), \' \') from numbers(10000)" > data.json'])
'clickhouse local -q "SELECT arrayStringConcat(arrayMap(x->toString(cityHash64(x)), range(1000)), \' \') from numbers(10000)" > data.json'])
for it in range(0, 20):
# the problem can be triggered only via HTTP,
# since clickhouse-client parses the data by itself.