mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Increase allowed query time
This commit is contained in:
parent
271398be61
commit
ed6363b88b
@ -60,13 +60,13 @@ def test(started_cluster):
|
||||
start = time.time()
|
||||
NODES['node1'].query_and_get_error('SELECT * FROM distributed_table settings receive_timeout=5, use_hedged_requests=0, async_socket_for_remote=0;')
|
||||
end = time.time()
|
||||
assert end - start < 6
|
||||
assert end - start < 10
|
||||
|
||||
start = time.time()
|
||||
error = NODES['node1'].query_and_get_error('SELECT * FROM distributed_table settings receive_timeout=5, use_hedged_requests=0;')
|
||||
end = time.time()
|
||||
|
||||
assert end - start < 6
|
||||
assert end - start < 10
|
||||
|
||||
# Check that exception about timeout wasn't thrown from DB::ReadBufferFromPocoSocket::nextImpl().
|
||||
assert error.find('DB::ReadBufferFromPocoSocket::nextImpl()') == -1
|
||||
@ -75,7 +75,7 @@ def test(started_cluster):
|
||||
error = NODES['node1'].query_and_get_error('SELECT * FROM distributed_table settings receive_timeout=5;')
|
||||
end = time.time()
|
||||
|
||||
assert end - start < 6
|
||||
assert end - start < 10
|
||||
|
||||
# Check that exception about timeout wasn't thrown from DB::ReadBufferFromPocoSocket::nextImpl().
|
||||
assert error.find('DB::ReadBufferFromPocoSocket::nextImpl()') == -1
|
||||
|
Loading…
Reference in New Issue
Block a user