[test] start elasticsearch and verify it does what it should after installing in custom dir

This commit is contained in:
Britta Weber 2015-09-17 17:21:04 +02:00
parent 07de30272b
commit c9cd70d419
1 changed files with 6 additions and 0 deletions

View File

@ -93,6 +93,12 @@ fi
chown -R elasticsearch:elasticsearch "$ESPLUGINS"
install_jvm_example
start_elasticsearch_service
# check that configuration was actually picked up
curl -s localhost:9200/_cat/configured_example | sed 's/ *$//' > /tmp/installed
echo "foo" > /tmp/expected
diff /tmp/installed /tmp/expected
stop_elasticsearch_service
remove_jvm_example
}