Try to fix flaky check

This commit is contained in:
Nikolay Degterinsky 2024-08-29 13:38:18 +02:00 committed by GitHub
parent 587bc80d5b
commit f9fa4403d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,3 +127,9 @@ def test_cluster_groups(started_cluster):
main_node_1.query("SYSTEM DROP DATABASE REPLICA '1|2' FROM DATABASE cluster_groups") main_node_1.query("SYSTEM DROP DATABASE REPLICA '1|2' FROM DATABASE cluster_groups")
assert_eq_with_retry(main_node_1, cluster_query, "main_node_1\n") assert_eq_with_retry(main_node_1, cluster_query, "main_node_1\n")
# 5. Reset to the original state
backup_node_2.start_clickhouse()
main_node_2.start_clickhouse()
for node in all_nodes:
node.query("DROP DATABASE cluster_groups SYNC;")