Fixed test

This commit is contained in:
Smita Kulkarni 2024-06-19 21:29:59 +02:00
parent 234f7e0d13
commit 1f0405c77d

View File

@ -1217,7 +1217,7 @@ def test_filtering_by_file_or_path(cluster):
node.query("SYSTEM FLUSH LOGS")
result = node.query(
f"SELECT ProfileEvents['EngineFileLikeReadFiles'] FROM system.query_log WHERE query like '%select%azure%test_filter%' AND type='QueryFinish'"
f"SELECT ProfileEvents['EngineFileLikeReadFiles'] FROM system.query_log WHERE query ilike '%select%azure%test_filter%' AND type='QueryFinish'"
)
assert int(result) == 1