Skip to content

Commit 7c3db9c

Browse files
Fix test
1 parent ad38358 commit 7c3db9c

File tree

1 file changed

+2
-2
lines changed
  • tests/integration/test_temporary_data

1 file changed

+2
-2
lines changed

tests/integration/test_temporary_data/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ def test_tmp_data_no_leftovers(start_cluster):
5555
node.restart_clickhouse(kill=True)
5656
path_to_data = "/var/lib/clickhouse/"
5757

58-
# Check that there are no temporary files left
59-
result = node.exec_in_container(["ls", path_to_data + "tmp/"])
58+
# Check that there are no temporary files left. Other than from the Sentry library.
59+
result = node.exec_in_container([f"bash", "-c", "ls -1 {path_to_data}tmp/ | grep -v 'sentry'"])
6060
assert result == ""

0 commit comments

Comments
 (0)