We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9808b2 commit 444beacCopy full SHA for 444beac
bin/mocks/elasticsearch.py
@@ -31,7 +31,7 @@ def patched_es_init(self, *args, **kwargs):
31
assert kwargs["cloud_id"] == "foo"
32
if "api_key" in kwargs:
33
assert kwargs["api_key"] == "bar"
34
- return orig_es_init(self, "http://localhost:9200", timeout=60)
+ return orig_es_init(self, "http://localhost:9200", request_timeout=60)
35
36
# patch Elasticsearch.__init__
37
elasticsearch.Elasticsearch.__init__ = patched_es_init
0 commit comments