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 e7ef22b commit 6858b64Copy full SHA for 6858b64
api-spec-testing/test_file.rb
@@ -225,8 +225,8 @@ def clear_indices(client)
225
end
226
227
def clear_indices_xpack(client)
228
- indices = client.indices.get(index: '_all').keys.reject do |i|
229
- i.start_with?('.security') || i.start_with?('.watches')
+ indices = client.indices.get(index: '_all', expand_wildcards: 'all').keys.reject do |i|
+ i.start_with?('.security') || i.start_with?('.watches') || i.start_with?('.ds-')
230
231
indices.each do |index|
232
client.indices.delete_alias(index: index, name: '*', ignore: 404)
0 commit comments