Fix flacky integration test

This commit is contained in:
Alexey Milovidov 2020-04-20 06:15:29 +03:00
parent a7d360b72b
commit e06dc573b4

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")