api-spec-testing/test_file.rb
# Prepare Elasticsearch for a single test file.
# This method deletes indices, roles, datafeeds, etc.
#
# @since 6.2.0
Prepare Elasticsearch for a single test file.
This method deletes indices, roles, datafeeds, etc.
Prepare Elasticsearch for a single test file . This method deletes indices roles datafeeds etc .
def clear_data(client)
          clear_indices(client)
          clear_index_templates(client)
          clear_snapshots_and_repositories(client)
        end
def clear_data ( client ) clear_indices ( client ) clear_index_templates ( client ) clear_snapshots_and_repositories ( client ) end
Prepare Elasticsearch for a single test file.
Prepare Elasticsearch for a single test file .
client
since
None