mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Merge pull request #10366 from ClickHouse/fix-test-insert-batching
Fix flacky integration test
This commit is contained in:
commit
e2d85501fe
@ -132,6 +132,7 @@ def test_inserts_batching(started_cluster):
|
|||||||
for i in range(10, 13):
|
for i in range(10, 13):
|
||||||
instance.query("INSERT INTO distributed(d, x) VALUES ('2000-01-01', {})".format(i))
|
instance.query("INSERT INTO distributed(d, x) VALUES ('2000-01-01', {})".format(i))
|
||||||
|
|
||||||
|
instance.query("SYSTEM FLUSH DISTRIBUTED distributed")
|
||||||
time.sleep(1.0)
|
time.sleep(1.0)
|
||||||
|
|
||||||
result = remote.query("SELECT _part, groupArray(x) FROM local2 GROUP BY _part ORDER BY _part")
|
result = remote.query("SELECT _part, groupArray(x) FROM local2 GROUP BY _part ORDER BY _part")
|
||||||
|
Loading…
Reference in New Issue
Block a user