diff --git a/tests/integration/test_graphite_merge_tree/test.py b/tests/integration/test_graphite_merge_tree/test.py index c4364a03fd9..7c19888df6b 100644 --- a/tests/integration/test_graphite_merge_tree/test.py +++ b/tests/integration/test_graphite_merge_tree/test.py @@ -509,6 +509,6 @@ CREATE TABLE test.graphite_not_created ) # The order of retentions is not guaranteed - assert "age and precision should only grow up: " in str(exc.value) + assert "Age and precision should only grow up: " in str(exc.value) assert "36000:600" in str(exc.value) assert "72000:300" in str(exc.value) diff --git a/tests/integration/test_grpc_protocol/test.py b/tests/integration/test_grpc_protocol/test.py index 4a28dae900b..5b56c3da8dc 100644 --- a/tests/integration/test_grpc_protocol/test.py +++ b/tests/integration/test_grpc_protocol/test.py @@ -352,11 +352,12 @@ def test_authentication(): def test_logs(): + query = "SELECT has(groupArray(number), 42) FROM numbers(1000)" logs = query_and_get_logs( - "SELECT has(groupArray(number), 42) FROM numbers(1000)", + query, settings={"send_logs_level": "debug"}, ) - assert "SELECT 1" in logs + assert query in logs assert "Read 1 rows" in logs assert "Peak memory usage" in logs