mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
fix poco secure sockets timeouts
This commit is contained in:
parent
1206eee2c9
commit
180b5d409d
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,7 +1,7 @@
|
||||
[submodule "contrib/poco"]
|
||||
path = contrib/poco
|
||||
url = https://github.com/ClickHouse-Extras/poco
|
||||
branch = clickhouse
|
||||
url = https://github.com/tavplubix/poco
|
||||
branch = yet_another_timeouts_fix
|
||||
[submodule "contrib/zstd"]
|
||||
path = contrib/zstd
|
||||
url = https://github.com/facebook/zstd.git
|
||||
|
2
contrib/poco
vendored
2
contrib/poco
vendored
@ -1 +1 @@
|
||||
Subproject commit d478f62bd93c9cd14eb343756ef73a4ae622ddf5
|
||||
Subproject commit 2d3df42f29745fd96bb3cac1acf453ab57d0ec68
|
@ -289,6 +289,11 @@ def test_rename(test_cluster):
|
||||
assert instance.query("select count(id), sum(id) from rename where sid like 'new%'").rstrip() == "10\t245"
|
||||
test_cluster.pm_random_drops.push_rules(rules)
|
||||
|
||||
def test_socket_timeout(test_cluster):
|
||||
instance = test_cluster.instances['ch1']
|
||||
# queries should not fail with "Timeout exceeded while reading from socket" in case of EINTR caused by query profiler
|
||||
for i in range(0, 100):
|
||||
instance.query("select hostName() as host, count() from cluster('cluster', 'system', 'settings') group by host")
|
||||
|
||||
if __name__ == '__main__':
|
||||
with contextmanager(test_cluster)() as ctx_cluster:
|
||||
|
Loading…
Reference in New Issue
Block a user