Disable test failing with Java 8

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-07-29 13:13:19 +00:00
parent c6455c6da2
commit 4040721fd0
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ import org.apache.solr.response.SolrQueryResponse;
import org.apache.solr.spelling.AbstractLuceneSpellChecker;
import org.apache.solr.spelling.SolrSpellChecker;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
/**
@ -98,6 +99,7 @@ public class SpellCheckComponentTest extends SolrTestCaseJ4 {
@Test
@Ignore("This test fails in most cases with Java 8+, looks like it depends on order of some HashSet/HashMap whatever")
public void testPerDictionary() throws Exception {
assertJQ(req("json.nl","map", "qt",rh, SpellCheckComponent.COMPONENT_NAME, "true", SpellingParams.SPELLCHECK_BUILD, "true", "q","documemt"
, SpellingParams.SPELLCHECK_DICT, "perDict", SpellingParams.SPELLCHECK_PREFIX + ".perDict.foo", "bar", SpellingParams.SPELLCHECK_PREFIX + ".perDict.bar", "foo")