elasticsearch ElasticsearchIntegrationTest
Indeed, it seems there is a mismatch between the randomizedtesting
jar Lucene uses and the one ES uses. Try this in your pom.xml
:
<dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-test-framework</artifactId> <version>4.10.2</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>randomizedtesting-runner</artifactId> <groupId> com.carrotsearch.randomizedtesting </groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>1.4.0</version> <scope>test</scope> <type>test-jar</type> </dependency> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>1.4.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.carrotsearch.randomizedtesting</groupId> <artifactId>randomizedtesting-runner</artifactId> <version>2.1.10</version> <scope>test</scope> </dependency>