Merge pull request #52989 from ClickHouse/relax_test

Remove assertion from test_no_ttl_merges_in_busy_pool
This commit is contained in:
alesapin 2023-08-04 11:00:56 +02:00 committed by GitHub
commit 4390129511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,10 +103,6 @@ def test_no_ttl_merges_in_busy_pool(started_cluster):
rows_count.append(int(node1.query("SELECT count() FROM test_ttl").strip()))
time.sleep(0.5)
# at least several seconds we didn't run any TTL merges and rows count equal
# to the original value
assert sum([1 for count in rows_count if count == 30]) > 4
assert_eq_with_retry(node1, "SELECT COUNT() FROM test_ttl", "0")
node1.query("DROP TABLE test_ttl SYNC")