mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix flaky test_replicated_database::test_alter_attach
This commit is contained in:
parent
50510f9c43
commit
86c3036bfb
@ -337,8 +337,10 @@ def test_alter_attach(started_cluster, attachable_part, engine):
|
||||
main_node.query(f"SELECT CounterID FROM {database}.alter_attach_test")
|
||||
== "123\n"
|
||||
)
|
||||
|
||||
# On the other node, data is replicated only if using a Replicated table engine
|
||||
if engine == "ReplicatedMergeTree":
|
||||
dummy_node.query(f"SYSTEM SYNC REPLICA {database}.alter_attach_test LIGHTWEIGHT")
|
||||
assert (
|
||||
dummy_node.query(f"SELECT CounterID FROM {database}.alter_attach_test")
|
||||
== "123\n"
|
||||
|
Loading…
Reference in New Issue
Block a user