mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Add test
This commit is contained in:
parent
905b75b853
commit
2fddc17642
@ -30,6 +30,12 @@ node6 = cluster.add_instance(
|
||||
},
|
||||
main_configs=["configs/include_from_source.xml"],
|
||||
)
|
||||
node7 = cluster.add_instance(
|
||||
"node7",
|
||||
user_configs=["configs/000-config_with_env_subst.xml", "configs/010-env_subst_override.xml"],
|
||||
env_variables={"MAX_QUERY_SIZE": "121212"},
|
||||
instance_env_variables=True,
|
||||
) # overridden with 424242
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
@ -78,6 +84,10 @@ def test_config(start_cluster):
|
||||
node6.query("select value from system.settings where name = 'max_query_size'")
|
||||
== "99999\n"
|
||||
)
|
||||
assert (
|
||||
node7.query("select value from system.settings where name = 'max_query_size'")
|
||||
== "424242\n"
|
||||
)
|
||||
|
||||
|
||||
def test_include_config(start_cluster):
|
||||
|
Loading…
Reference in New Issue
Block a user