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 88c298d commit 90a667bCopy full SHA for 90a667b
api-spec-testing/test_file.rb
@@ -404,7 +404,12 @@ def clear_datastreams(client)
404
datastreams['data_streams'].each do |datastream|
405
client.xpack.indices.delete_data_stream(name: datastream['name'], expand_wildcards: 'all')
406
end
407
- client.indices.delete_data_stream(name: '*')
+ begin
408
+ client.indices.delete_data_stream(name: '*', expand_wildcards: 'all')
409
+ rescue StandardError => e
410
+ LOGGER.error "Caught exception attempting to delete data streams: #{e}"
411
+ client.indices.delete_data_stream(name: '*')
412
+ end
413
414
415
def clear_ml_filters(client)
0 commit comments