elasticsearch-1.6.0

Elasticsearch :found jar hell in test classpath

倾然丶 夕夏残阳落幕 提交于 2019-12-22 01:33:30
问题 I want to perform unit testing in Elasticsearch for that I am using Java-test-framework I am using Elasticsearch-1.6.0 and referring to these link for help https://www.elastic.co/guide/en/elasticsearch/reference/1.6/using-elasticsearch-test-classes.html https://github.com/elastic/elasticsearch/blob/master/core/src/test/java/org/elasticsearch/action/search/SearchRequestBuilderTests.java here is the code class CampaignESTest extends ESTestCase { def getCLient():MockTransportClient={ val

Elasticsearch :found jar hell in test classpath

你。 提交于 2019-12-04 22:26:33
I want to perform unit testing in Elasticsearch for that I am using Java-test-framework I am using Elasticsearch-1.6.0 and referring to these link for help https://www.elastic.co/guide/en/elasticsearch/reference/1.6/using-elasticsearch-test-classes.html https://github.com/elastic/elasticsearch/blob/master/core/src/test/java/org/elasticsearch/action/search/SearchRequestBuilderTests.java here is the code class CampaignESTest extends ESTestCase { def getCLient():MockTransportClient={ val settings = Settings.builder() .put(Environment.PATH_HOME_SETTING.getKey(), Files.createTempDir().toString())