From 789c0a9a1b320fdf33927620ecc5490dfd795d26 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 8 Sep 2014 14:21:52 -0700 Subject: [PATCH] Quiet BWC analysis test case for now. See https://issues.apache.org/jira/browse/LUCENE-5927. --- .../bwcompat/BasicAnalysisBackwardCompatibilityTests.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/elasticsearch/bwcompat/BasicAnalysisBackwardCompatibilityTests.java b/src/test/java/org/elasticsearch/bwcompat/BasicAnalysisBackwardCompatibilityTests.java index 5da54ff1e3d..349bd1a5c22 100644 --- a/src/test/java/org/elasticsearch/bwcompat/BasicAnalysisBackwardCompatibilityTests.java +++ b/src/test/java/org/elasticsearch/bwcompat/BasicAnalysisBackwardCompatibilityTests.java @@ -19,11 +19,13 @@ package org.elasticsearch.bwcompat; import com.carrotsearch.randomizedtesting.generators.RandomPicks; +import org.apache.lucene.util.LuceneTestCase; import org.elasticsearch.Version; import org.elasticsearch.action.admin.indices.analyze.AnalyzeResponse; import org.elasticsearch.indices.analysis.PreBuiltAnalyzers; import org.elasticsearch.test.ElasticsearchBackwardsCompatIntegrationTest; import org.elasticsearch.test.ElasticsearchIntegrationTest; +import org.junit.Ignore; import org.junit.Test; import java.io.IOException; @@ -34,8 +36,6 @@ import java.util.concurrent.ExecutionException; import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked; import static org.hamcrest.Matchers.equalTo; -/** - */ @ElasticsearchIntegrationTest.ClusterScope(numDataNodes = 0, scope = ElasticsearchIntegrationTest.Scope.SUITE, numClientNodes = 0, transportClientRatio = 0.0) public class BasicAnalysisBackwardCompatibilityTests extends ElasticsearchBackwardsCompatIntegrationTest { @@ -44,6 +44,8 @@ public class BasicAnalysisBackwardCompatibilityTests extends ElasticsearchBackwa * TODO we need this for random tokenizers / tokenfilters as well */ @Test + @Ignore + @LuceneTestCase.AwaitsFix(bugUrl="https://github.com/elasticsearch/dev/issues/264") public void testAnalyzerTokensAfterUpgrade() throws IOException, ExecutionException, InterruptedException { int numFields = randomIntBetween(PreBuiltAnalyzers.values().length, PreBuiltAnalyzers.values().length * 10); StringBuilder builder = new StringBuilder();