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 6f95b84 commit 84b3cf9Copy full SHA for 84b3cf9
elasticsearch-api/spec/yaml-test-runner/run.rb
@@ -49,7 +49,14 @@
49
transport_options = {}
50
end
51
52
-options = { host: host, transport_options: transport_options, compression: true }
+options = {
53
+ host: host,
54
+ transport_options: transport_options,
55
+ retry_on_status: [409],
56
+ retry_on_failure: 10,
57
+ delay_on_retry: 60_000,
58
+ request_timeout: 120
59
+}
60
options.merge!({ api_key: ENV['ES_API_KEY'] }) if ENV['ES_API_KEY']
61
CLIENT = Elasticsearch::Client.new(options)
62
0 commit comments