Merge pull request #10366 from ClickHouse/fix-test-insert-batching

Fix flacky integration test
This commit is contained in:
alexey-milovidov 2020-04-20 10:53:38 +03:00 committed by GitHub
commit e2d85501fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,7 @@ def test_inserts_batching(started_cluster):
for i in range(10, 13):
instance.query("INSERT INTO distributed(d, x) VALUES ('2000-01-01', {})".format(i))
instance.query("SYSTEM FLUSH DISTRIBUTED distributed")
time.sleep(1.0)
result = remote.query("SELECT _part, groupArray(x) FROM local2 GROUP BY _part ORDER BY _part")