mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Fix test_secure_socket and remove redundant settings in hedged tests
This commit is contained in:
parent
3030db9043
commit
8f1b507386
@ -2,8 +2,6 @@
|
||||
<yandex>
|
||||
<profiles>
|
||||
<default>
|
||||
<async_socket_for_remote>1</async_socket_for_remote>
|
||||
<use_hedged_requests>1</use_hedged_requests>
|
||||
</default>
|
||||
</profiles>
|
||||
</yandex>
|
||||
|
@ -2,8 +2,6 @@
|
||||
<yandex>
|
||||
<profiles>
|
||||
<default>
|
||||
<async_socket_for_remote>1</async_socket_for_remote>
|
||||
<use_hedged_requests>1</use_hedged_requests>
|
||||
</default>
|
||||
</profiles>
|
||||
</yandex>
|
||||
|
@ -64,7 +64,7 @@ def test(started_cluster):
|
||||
assert end - start < 10
|
||||
|
||||
start = time.time()
|
||||
error = NODES['node1'].query_and_get_error('SELECT * FROM distributed_table settings receive_timeout=5, send_timeout=5, use_hedged_requests=0;')
|
||||
error = NODES['node1'].query_and_get_error('SELECT * FROM distributed_table settings receive_timeout=5, send_timeout=5, use_hedged_requests=0, async_socket_for_remote=1;')
|
||||
end = time.time()
|
||||
|
||||
assert end - start < 10
|
||||
@ -73,7 +73,7 @@ def test(started_cluster):
|
||||
assert error.find('DB::ReadBufferFromPocoSocket::nextImpl()') == -1
|
||||
|
||||
start = time.time()
|
||||
error = NODES['node1'].query_and_get_error('SELECT * FROM distributed_table settings receive_timeout=5, send_timeout=5;')
|
||||
error = NODES['node1'].query_and_get_error('SELECT * FROM distributed_table settings receive_timeout=5, send_timeout=5, use_hedged_requests=1, async_socket_for_remote=1;')
|
||||
end = time.time()
|
||||
|
||||
assert end - start < 10
|
||||
|
Loading…
Reference in New Issue
Block a user