Skip to content

Commit

Permalink
set timeout=60 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
maxjakob committed Feb 9, 2024
1 parent e843d11 commit 33bec7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mocks/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def patched_es_init(self, *args, **kwargs):
assert kwargs["cloud_id"] == "foo"
if "api_key" in kwargs:
assert kwargs["api_key"] == "bar"
return orig_es_init(self, "http://localhost:9200")
return orig_es_init(self, "http://localhost:9200", timeout=60)

# patch Elasticsearch.__init__
elasticsearch.Elasticsearch.__init__ = patched_es_init
Expand Down

0 comments on commit 33bec7a

Please sign in to comment.