[
https://issues.apache.org/jira/browse/LUCENE-5190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752753#comment-13752753
]
Steve Rowe commented on LUCENE-5190:
------------------------------------
bq. the assert following the one you changed in that test will also fail, won't
it?
I'm wrong: local variable {{version}} is set to the value of the
{{lucene.version}} sysprop set in the {{common-build.xml}} macro
{{test-macro}}, and {{lucene.version}} is defined as {{dev.version}}, which is
never overridden by the {{-Dversion=...}} sysprop cmdline override.
So this assert will compare {{Constants.LUCENE_VERSION}} "5.0-SNAPSHOT" to
{{version}}/{{lucene.version}}/{{dev.version}} "5.0-SNAPSHOT" and succeed.
> 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
>
>
> 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]