mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Merge pull request #10346 from vitlibar/fix-flaky-test-settings-constraints-distributed
Fix flaky test test_settings_constraints_distributed.
This commit is contained in:
commit
27585f59e6
@ -103,4 +103,5 @@ def test_insert_clamps_settings():
|
||||
|
||||
distributed.query("INSERT INTO proxy VALUES (toDate('2020-02-20'), 2, 2)")
|
||||
distributed.query("INSERT INTO proxy VALUES (toDate('2020-02-21'), 2, 2)", settings={"max_memory_usage": 5000000})
|
||||
assert distributed.query("SELECT COUNT() FROM proxy") == "4\n"
|
||||
distributed.query("SYSTEM FLUSH DISTRIBUTED proxy")
|
||||
assert_eq_with_retry(distributed, "SELECT COUNT() FROM proxy", "4")
|
||||
|
Loading…
Reference in New Issue
Block a user