Skip to content

Commit 854f391

Browse files
committed
Revert "Set higher async timeout"
This reverts commit c4cf098.
1 parent 8c071ce commit 854f391

File tree

1 file changed

+1
-5
lines changed
  • test_elasticsearch_serverless/test_async/test_server

1 file changed

+1
-5
lines changed

test_elasticsearch_serverless/test_async/test_server/conftest.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,8 @@ async def async_client_factory(elasticsearch_url, elasticsearch_api_key):
3636
# event loops (one per test!)
3737
client = None
3838
try:
39-
# The async clients need a higher timeout because they apply to the
40-
# whole operation, while timeouts on sync clients are socket timeouts,
41-
# wich only apply when no bytes have been received on the underlying
42-
# socket
4339
client = elasticsearch_serverless.AsyncElasticsearch(
44-
elasticsearch_url, api_key=elasticsearch_api_key, request_timeout=60,
40+
elasticsearch_url, api_key=elasticsearch_api_key
4541
)
4642
yield client
4743
finally:

0 commit comments

Comments
 (0)