[ 
https://issues.apache.org/jira/browse/LUCENE-5190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-5190:
----------------------------------

    Attachment: LUCENE-5190.patch

This patch fixes the issue now for all cases.

This just removes anything after "\-" from the version string before it 
compares. This makes some "appendixes" added by package maintainer or jenkins 
disappear before checking. Everything in a version string after the dash is 
just appendix.
                
> Consistent failure of TestCheckIndex.testLuceneConstantVersion in jenkins 
> trunk clover build
> --------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5190
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5190
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Uwe Schindler
>         Attachments: LUCENE-5190.patch, LUCENE-5190.patch
>
>
> I'm out of the loop on how clover is run, and how the build system sets up th 
> version params, but looking at the coverage reports i noticed that the trunk 
> clover build seems to have been failing consistently for a while -- some 
> sporadic test failures, but one consistent failure smells like it has to do 
> with a build configuration problem...
> {noformat}
> java.lang.AssertionError: Invalid version: 5.0-2013-08-11_15-22-48
>       at 
> __randomizedtesting.SeedInfo.seed([648EC34D8642C547:A7103483A05D2588]:0)
>       at org.junit.Assert.fail(Assert.java:93)
>       at org.junit.Assert.assertTrue(Assert.java:43)
>       at 
> org.apache.lucene.index.TestCheckIndex.__CLR3_1_10l79zdz2ior(TestCheckIndex.java:132)
>       at 
> org.apache.lucene.index.TestCheckIndex.testLuceneConstantVersion(TestCheckIndex.java:118)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to