Added a change from @azat in #10277

This commit is contained in:
alexey-milovidov 2020-04-18 14:48:51 +03:00 committed by GitHub
parent b9ea0a33a7
commit bdc8dfe04b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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})
distributed.query("SYSTEM FLUSH DISTRIBUTED proxy")
assert_eq_with_retry(distributed, "SELECT COUNT() FROM proxy", "4")