[ 
https://issues.apache.org/jira/browse/LUCENE-5863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128858#comment-14128858
 ] 

Robert Muir commented on LUCENE-5863:
-------------------------------------

FYI: the tests work.

As soon as I added 4.0-BETA index, test failed:
{noformat}
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestBackwardsCompatibility -Dtests.method=testAddOldIndexes 
-Dtests.seed=5B7356B8D3654E5F -Dtests.locale=no_NO_NY 
-Dtests.timezone=Etc/GMT+3 -Dtests.file.encoding=UTF-8
   [junit4] ERROR   0.24s | TestBackwardsCompatibility.testAddOldIndexes <<<
   [junit4]    > Throwable #1: java.io.IOException: file "_0.si" was already 
written to
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([5B7356B8D3654E5F:F786ADBD20A42A27]:0)
   [junit4]    >        at 
org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:528)
   [junit4]    >        at 
org.apache.lucene.index.SegmentInfos.write3xInfo(SegmentInfos.java:610)
   [junit4]    >        at 
org.apache.lucene.index.SegmentInfos.write(SegmentInfos.java:535)
   [junit4]    >        at 
org.apache.lucene.index.SegmentInfos.prepareCommit(SegmentInfos.java:1033)
{noformat}

I then did "svn update" to bring in the fixes from LUCENE-5934, and then it 
passes.

> Generate backwards compatibility indexes for all 4.x releases
> -------------------------------------------------------------
>
>                 Key: LUCENE-5863
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5863
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: testTheBWCTester.py
>
>
> Currently the versioning here is a total mess, and its inconsistent across 
> bugfix releases.
> We should just generate back compat indexes for every release: regardless of 
> whether the index format changed, even for bugfix releases. This ensures at 
> least we try to test that the back compat is working.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to