Update test_replicated_fetches_network_partition with new settings

This commit is contained in:
Nicolae Vartolomei 2021-02-04 17:26:53 +00:00
parent b153e8c190
commit 75fca08b2a
3 changed files with 7 additions and 10 deletions

View File

@ -0,0 +1,6 @@
<yandex>
<merge_tree>
<replicated_fetches_http_connection_timeout>30</replicated_fetches_http_connection_timeout>
<replicated_fetches_http_receive_timeout>1</replicated_fetches_http_receive_timeout>
</merge_tree>
</yandex>

View File

@ -1,9 +0,0 @@
<yandex>
<profiles>
<default>
<!-- high connection timeout, we want to test failover on reads -->
<http_connection_timeout>30</http_connection_timeout>
<!-- <http_receive_timeout>1</http_receive_timeout>-->
</default>
</profiles>
</yandex>

View File

@ -10,7 +10,7 @@ import string
cluster = ClickHouseCluster(__file__) cluster = ClickHouseCluster(__file__)
node1 = cluster.add_instance('node1', with_zookeeper=True) node1 = cluster.add_instance('node1', with_zookeeper=True)
node2 = cluster.add_instance('node2', with_zookeeper=True) node2 = cluster.add_instance('node2', with_zookeeper=True)
node3 = cluster.add_instance('node3', with_zookeeper=True, user_configs=['configs/profiles.xml']) node3 = cluster.add_instance('node3', with_zookeeper=True, main_configs=['configs/merge_tree.xml'])
DEFAULT_MAX_THREADS_FOR_FETCH = 3 DEFAULT_MAX_THREADS_FOR_FETCH = 3