From 63f0348291eb899076bf22765fc6080a7840cd04 Mon Sep 17 00:00:00 2001 From: Amos Bird Date: Thu, 7 Jan 2021 11:31:23 +0800 Subject: [PATCH] Fix test --- tests/integration/test_alter_settings_on_cluster/test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_alter_settings_on_cluster/test.py b/tests/integration/test_alter_settings_on_cluster/test.py index d56ef4461aa..6ab3d446b59 100644 --- a/tests/integration/test_alter_settings_on_cluster/test.py +++ b/tests/integration/test_alter_settings_on_cluster/test.py @@ -48,6 +48,7 @@ def test_default_database_on_cluster(started_cluster): ) for node in [ch1, ch2]: - assert node.query("SHOW CREATE test_local_table FORMAT TSV").endswith( - "old_parts_lifetime = 100\n" - ) + assert node.query( + database="test_default_database", + sql="SHOW CREATE test_local_table FORMAT TSV", + ).endswith("old_parts_lifetime = 100\n")