mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Merge pull request #14158 from ClickHouse/fix_flaky_test_1
Wait for async mutation in test_version_update_after_mutation
This commit is contained in:
commit
6a963f58da
@ -1,5 +1,4 @@
|
||||
import pytest
|
||||
import time
|
||||
|
||||
from helpers.cluster import ClickHouseCluster
|
||||
from helpers.test_tools import assert_eq_with_retry
|
||||
@ -71,4 +70,7 @@ def test_upgrade_while_mutation(start_cluster):
|
||||
|
||||
node3.restart_with_latest_version()
|
||||
|
||||
# will delete nothing, but previous async mutation will finish with this query
|
||||
node3.query("ALTER TABLE mt1 DELETE WHERE id > 100000", settings={"mutations_sync": "2"})
|
||||
|
||||
assert_eq_with_retry(node3, "SELECT COUNT() from mt1", "50000\n")
|
||||
|
Loading…
Reference in New Issue
Block a user