Update test.py

This commit is contained in:
tavplubix 2021-02-19 22:32:50 +03:00 committed by GitHub
parent 5cfd687dfb
commit 057c87f322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ def test_reload_auxiliary_zookeepers(start_cluster):
</zookeeper>
</yandex>"""
node.replace_config("/etc/clickhouse-server/conf.d/zookeeper.xml", new_config)
time.sleep(2)
node.query("SYSTEM RELOAD CONFIG")
with pytest.raises(QueryRuntimeException):
node.query(
"ALTER TABLE simple2 FETCH PARTITION '2020-08-27' FROM 'zookeeper2:/clickhouse/tables/0/simple';"