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 189b896Copy full SHA for 189b896
elasticsearch-api/spec/yaml-test-runner/run.rb
@@ -49,7 +49,16 @@
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
+ arguments: {
56
+ retry_on_status: [409],
57
+ retry_on_failure: 10,
58
+ delay_on_retry: 60_000,
59
+ request_timeout: 120
60
+ }
61
+}
62
options.merge!({ api_key: ENV['ES_API_KEY'] }) if ENV['ES_API_KEY']
63
CLIENT = Elasticsearch::Client.new(options)
64
0 commit comments