[test] start elasticsearch and verify it does what it should after installing in custom dir
This commit is contained in:
parent
07de30272b
commit
c9cd70d419
|
@ -93,6 +93,12 @@ fi
|
||||||
chown -R elasticsearch:elasticsearch "$ESPLUGINS"
|
chown -R elasticsearch:elasticsearch "$ESPLUGINS"
|
||||||
|
|
||||||
install_jvm_example
|
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
|
remove_jvm_example
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue