From c386155a738eeaaaf65259e213babbac7f5d5b7c Mon Sep 17 00:00:00 2001 From: David Pilato Date: Sat, 11 Jan 2014 17:08:20 +0100 Subject: [PATCH] add MockPageCacheRecycler in test jar MockPageCacheRecycler is missing in test jar which makes failing tests when using test jar in plugins: ``` 1> [2014-01-11 10:51:30,531][ERROR][test ] FAILURE : testWikipediaRiver(org.elasticsearch.river.wikipedia.WikipediaRiverTest) 1> REPRODUCE WITH : mvn test -Dtests.seed=5DAFD4FBAE587363 -Dtests.class=org.elasticsearch.river.wikipedia.WikipediaRiverTest -Dtests.method=testWikipediaRiver -Dtests.prefix=tests -Dtests.network=true -Dfile.encoding=MacRoman -Duser.timezone=Europe/Paris -Des.logger.level=INFO -Des.node.local=true -Dtests.cluster_seed=134842C2D806FFC0 1> Throwable: 1> java.lang.NoClassDefFoundError: org/elasticsearch/cache/recycler/MockPageCacheRecycler 1> org.elasticsearch.test.cache.recycler.MockPageCacheRecyclerModule.configure(MockPageCacheRecyclerModule.java:30) 1> org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60) ``` Closes #4694. --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 411955a82f8..cab82e5d666 100644 --- a/pom.xml +++ b/pom.xml @@ -1052,6 +1052,7 @@ org/elasticsearch/test/**/* + org/elasticsearch/cache/recycler/MockPageCacheRecycler.class org/apache/lucene/util/AbstractRandomizedTest.class org/apache/lucene/util/AbstractRandomizedTest$*.class