Mikhail Khludnev created LUCENE-9079:

             Summary: TestDictionary.testInvalidData fails
                 Key: LUCENE-9079
                 URL: https://issues.apache.org/jira/browse/LUCENE-9079
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Mikhail Khludnev

eg [https://jenkins.thetaphi.de/job/Lucene-Solr-8.x-Linux/1566/consoleText]

It seems it fails regularly. [~rcmuir] came up with a clue 
{quote}The test expects a ParseException (which contains offset) to be 
triggered for the invalid data.
But the offset isn't what the test expects.
If you look at the test and the code, there isn't anything sneaky going on 
here. We just populate the ParseException with getLineNumber.
Does this only fail with EA JDK? Could be a JDK issue!{quote}
{{ NOTE: reproduce with: ant test  -Dtestcase=TestDictionary 
-Dtests.method=testInvalidData -Dtests.seed=89954FC6F33225B1 
-Dtests.multiplier=3 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=os-GE -Dtests.timezone=Pacific/Guadalcanal -Dtests.asserts=true 
{{   [junit4] FAILURE 0.04s J2 | TestDictionary.testInvalidData <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: expected:<24> but 
   [junit4]    >        at 
   [junit4]    >        at 

This message was sent by Atlassian Jira

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to