diff --git a/tests/integration/test_config_substitutions/test.py b/tests/integration/test_config_substitutions/test.py index 692b36f1fae..d2a7a4a7ae4 100644 --- a/tests/integration/test_config_substitutions/test.py +++ b/tests/integration/test_config_substitutions/test.py @@ -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):