Skip to content

Commit fd36f73

Browse files
committed
Faster test
1 parent 27fb928 commit fd36f73

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

tests/integration/test_s3_cache_locality/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def check_s3_gets(cluster, node, expected_result, cluster_first, cluster_second,
110110
)
111111
assert result_second == expected_result
112112

113-
for host in list(cluster.instances.values()):
114-
host.query("SYSTEM FLUSH LOGS")
113+
node.query(f"SYSTEM FLUSH LOGS ON CLUSTER {cluster_first}")
114+
node.query(f"SYSTEM FLUSH LOGS ON CLUSTER {cluster_second}")
115115

116116
s3_get_first = node.query(
117117
f"""

0 commit comments

Comments
 (0)