Skip to content

Commit ceb9865

Browse files
committed
[CI] Added es.default.path.conf config to test cluster launcher
Prevent errors when starting Elasticsearch: /usr/share/elasticsearch/bin/elasticsearch -D es.default.path.logs=/tmp Failed to configure logging... org.elasticsearch.ElasticsearchException: Failed to load logging configuration Also, removed the `env` matrix, since we now test both 3.x and 4.x versions in the integration tests Rake task.
1 parent 7679a6e commit ceb9865

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,17 @@ rvm:
1616
jdk:
1717
- openjdk7
1818

19-
env:
20-
- TEST_BUNDLE_GEMFILE=$PWD/elasticsearch/elasticsearch-rails/elasticsearch-model/gemfiles/3.0.gemfile
21-
- TEST_BUNDLE_GEMFILE=$PWD/elasticsearch/elasticsearch-rails/elasticsearch-model/gemfiles/4.0.gemfile
22-
2319
services:
2420
- mongodb
2521

2622
before_script:
2723
- ls -la /usr/share/elasticsearch/bin/elasticsearch
24+
- echo $PWD
2825
- rake bundle:clean
2926
- rake bundle:install
3027

3128
script:
32-
- SERVER=launch TEST_CLUSTER_COMMAND=/usr/share/elasticsearch/bin/elasticsearch TEST_BUNDLE_GEMFILE=$TEST_BUNDLE_GEMFILE bundle exec rake test:all
29+
- SERVER=launch TEST_CLUSTER_COMMAND=/usr/share/elasticsearch/bin/elasticsearch TEST_CLUSTER_PARAMS='-Des.default.path.conf=/etc/elasticsearch/' bundle exec rake test:all
3330

3431
notifications:
3532
disable: true

0 commit comments

Comments
 (0)