mark intermittently failing uima/icu tests awaitsfix

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676478 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2015-04-28 11:18:51 +00:00
parent 28cae51539
commit f8843b5b0b
3 changed files with 6 additions and 3 deletions

View File

@ -90,11 +90,13 @@ public class TestICUTokenizerCJK extends BaseTokenStreamTestCase {
}
/** blast some random strings through the analyzer */
@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-5575")
public void testRandomStrings() throws Exception {
checkRandomData(random(), a, 10000*RANDOM_MULTIPLIER);
}
/** blast some random large strings through the analyzer */
@AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-5575")
public void testRandomHugeStrings() throws Exception {
Random random = random();
checkRandomData(random, a, 100*RANDOM_MULTIPLIER, 8192);

View File

@ -119,14 +119,14 @@ public class UIMABaseAnalyzerTest extends BaseTokenStreamTestCase {
dir.close();
}
@Test
@Test @AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-3869")
public void testRandomStrings() throws Exception {
Analyzer analyzer = new UIMABaseAnalyzer("/uima/TestAggregateSentenceAE.xml", "org.apache.lucene.uima.ts.TokenAnnotation", null);
checkRandomData(random(), analyzer, 100 * RANDOM_MULTIPLIER);
analyzer.close();
}
@Test
@Test @AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-3869")
public void testRandomStringsWithConfigurationParameters() throws Exception {
Map<String, Object> cp = new HashMap<>();
cp.put("line-end", "\r");

View File

@ -20,6 +20,7 @@ package org.apache.lucene.analysis.uima;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.BaseTokenStreamTestCase;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@ -59,7 +60,7 @@ public class UIMATypeAwareAnalyzerTest extends BaseTokenStreamTestCase {
}
@Test
@Test @AwaitsFix(bugUrl = "https://issues.apache.org/jira/browse/LUCENE-3869")
public void testRandomStrings() throws Exception {
Analyzer analyzer = new UIMATypeAwareAnalyzer("/uima/TestAggregateSentenceAE.xml",
"org.apache.lucene.uima.ts.TokenAnnotation", "pos", null);