diff --git a/travis/download_and_run_es.sh b/travis/download_and_run_es.sh index b84ce5700..ef77080a0 100755 --- a/travis/download_and_run_es.sh +++ b/travis/download_and_run_es.sh @@ -4,7 +4,6 @@ if [ -z $ES_VERSION ]; then exit 1; fi; - killall java 2>/dev/null which java @@ -24,11 +23,9 @@ find . -name "elasticsearch.yml" | while read TXT ; do echo 'path.repo: ["/tmp"] find . -name "elasticsearch.yml" | while read TXT ; do echo 'node.max_local_storage_nodes: 1' >> $TXT ; done find . -name "elasticsearch.yml" | while read TXT ; do echo 'cluster.routing.allocation.disk.watermark.low: 1b' >> $TXT ; done find . -name "elasticsearch.yml" | while read TXT ; do echo 'cluster.routing.allocation.disk.watermark.high: 1b' >> $TXT ; done -find . -name "elasticsearch.yml" | while read TXT ; do echo 'cluster.routing.allocation.disk.watermark.flood_stage: 1b' >> $TXT ; done find . -name "elasticsearch.yml" | while read TXT ; do echo 'node.attr.testattr: test' >> $TXT ; done find . -name "elasticsearch.yml" | while read TXT ; do echo 'script.max_compilations_per_minute: 2048' >> $TXT ; done - echo "Starting Elasticsearch v${ES_VERSION}" ./elasticsearch-*/bin/elasticsearch -d