Elasticsearch: Update helm test

This updates the Elasticsearch helm test to execute a clean on the
test index before attempting to create it, in cases where a
stranded test index may exist

Change-Id: I87533f94f6ea55b0b2f929543f8d3e75baa81bed
This commit is contained in:
Steve Wilkerson 2018-12-12 12:43:13 -06:00
parent 7f1ad7b03c
commit d3e046d803

View File

@ -97,6 +97,7 @@ function remove_test_index () {
-XDELETE "${ELASTICSEARCH_ENDPOINT}/test_index"
}
remove_test_index || true
create_test_index
insert_data_into_test_index
check_hits_on_test_data