mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Add input parameter 'base_config_dir'
This commit is contained in:
parent
7c3fa3658d
commit
e9ffc383da
@ -6,4 +6,10 @@
|
||||
<size>1000M</size>
|
||||
<count>10</count>
|
||||
</logger>
|
||||
|
||||
<http_port>8123</http_port>
|
||||
<tcp_port>9000</tcp_port>
|
||||
<listen_host>127.0.0.1</listen_host>
|
||||
<interserver_http_port>9009</interserver_http_port>
|
||||
<interserver_http_host>127.0.0.1</interserver_http_host>
|
||||
</clickhouse>
|
||||
|
38
tests/integration/test_system_logs/configs/users.xml
Normal file
38
tests/integration/test_system_logs/configs/users.xml
Normal file
@ -0,0 +1,38 @@
|
||||
<clickhouse>
|
||||
<profiles>
|
||||
<default>
|
||||
<max_memory_usage>10000000000</max_memory_usage>
|
||||
<max_block_size>64999</max_block_size>
|
||||
<load_balancing>random</load_balancing>
|
||||
</default>
|
||||
|
||||
<readonly>
|
||||
<readonly>1</readonly>
|
||||
</readonly>
|
||||
</profiles>
|
||||
|
||||
<users>
|
||||
<default>
|
||||
<password></password>
|
||||
<networks>
|
||||
<ip>::/0</ip>
|
||||
</networks>
|
||||
<profile>default</profile>
|
||||
|
||||
<quota>default</quota>
|
||||
</default>
|
||||
</users>
|
||||
|
||||
<quotas>
|
||||
<default>
|
||||
<interval>
|
||||
<duration>3600</duration>
|
||||
<queries>0</queries>
|
||||
<errors>0</errors>
|
||||
<result_rows>0</result_rows>
|
||||
<read_rows>0</read_rows>
|
||||
<execution_time>0</execution_time>
|
||||
</interval>
|
||||
</default>
|
||||
</quotas>
|
||||
</clickhouse>
|
@ -9,14 +9,15 @@ cluster = ClickHouseCluster(__file__)
|
||||
|
||||
node1 = cluster.add_instance(
|
||||
"node1",
|
||||
main_configs=["configs/config.xml", "configs/config.d/system_logs_order_by.xml"],
|
||||
base_config_dir="configs",
|
||||
main_configs=["configs/config.d/system_logs_order_by.xml"],
|
||||
stay_alive=True,
|
||||
)
|
||||
|
||||
node2 = cluster.add_instance(
|
||||
"node2",
|
||||
base_config_dir="configs",
|
||||
main_configs=[
|
||||
"configs/config.xml",
|
||||
"configs/config.d/system_logs_engine.xml",
|
||||
"configs/config.d/disks.xml",
|
||||
],
|
||||
@ -25,8 +26,8 @@ node2 = cluster.add_instance(
|
||||
|
||||
node3 = cluster.add_instance(
|
||||
"node3",
|
||||
base_config_dir="configs",
|
||||
main_configs=[
|
||||
"configs/config.xml",
|
||||
"configs/config.d/system_logs_settings.xml",
|
||||
"configs/config.d/disks.xml",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user