mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 19:14:30 +00:00
205ebc7cff
There may be 1 hour between two different distributed queries in tests (see [1] and [2]), if this will happen then the connection may be closed already due to idle_connection_timeout. [1]: https://clickhouse-test-reports.s3.yandex.net/21432/572d5862961ffda88125679e3a5ea684c316b223/functional_stateless_tests_(debug).html#fail1 [2]: https://clickhouse-test-reports.s3.yandex.net/21432/572d5862961ffda88125679e3a5ea684c316b223/functional_stateless_tests_(antlr_debug).html#fail1 Let's tune it to avoid such issues and override other settings in tests. Another option is to execute SYSTEM RELOAD CONFIG before each test...
14 lines
643 B
XML
14 lines
643 B
XML
<yandex>
|
|
<profiles>
|
|
<default>
|
|
<!-- Avoid "Connection failed at try №1" messages. -->
|
|
<connect_timeout_with_failover_ms>2000</connect_timeout_with_failover_ms>
|
|
<connect_timeout_with_failover_secure_ms>3000</connect_timeout_with_failover_secure_ms>
|
|
<!-- Avoid this logic in tests to avoid EOF (10 hours is enough for tests)-->
|
|
<idle_connection_timeout>36000</idle_connection_timeout>
|
|
<!-- NOTE: instead of tunning idle_connection_timeout,
|
|
SYSTEM RELOAD CONFIG can be executed before each test -->
|
|
</default>
|
|
</profiles>
|
|
</yandex>
|