File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
elasticsearch-api/api-spec-testing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ def wipe_cluster(client)
187
187
wipe_searchable_snapshot_indices ( client )
188
188
end
189
189
clear_snapshots_and_repositories ( client )
190
- clear_datastreams ( client ) if platinum?
190
+ wipe_datastreams ( client )
191
191
clear_indices ( client )
192
192
if platinum?
193
193
clear_templates_platinum ( client )
@@ -420,7 +420,7 @@ def clear_transforms(client)
420
420
end
421
421
end
422
422
423
- def clear_datastreams ( client )
423
+ def wipe_datastreams ( client )
424
424
datastreams = client . indices . get_data_stream ( name : '*' , expand_wildcards : 'all' )
425
425
datastreams [ 'data_streams' ] . each do |datastream |
426
426
client . indices . delete_data_stream ( name : datastream [ 'name' ] , expand_wildcards : 'all' )
You can’t perform that action at this time.
0 commit comments