未验证 提交 c4861155 编写于 作者: A alexey-milovidov 提交者: GitHub

Merge pull request #14498 from ClickHouse/add_retries_to_host_ip_change

Add retries to integration test_host_ip_change
......@@ -116,8 +116,7 @@ def test_ip_change_update_dns_cache(cluster_with_dns_cache_update):
cat_resolv = node4.exec_in_container(["bash", "-c", "cat /etc/resolv.conf"])
print("RESOLV {}".format(cat_resolv))
assert node4.query("SELECT * FROM remote('node3', 'system', 'one')") == "0\n"
assert_eq_with_retry(node4, "SELECT * FROM remote('node3', 'system', 'one')", "0", sleep_time=0.5)
# Because of DNS cache update, ip of node3 would be updated
assert_eq_with_retry(node4, "SELECT count(*) from test_table_update", "6", sleep_time=3)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册