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

Robert Muir resolved LUCENE-9168.
---------------------------------
    Fix Version/s: 8.5
       Resolution: Fixed

Thanks [~ivera], sorry for the failure.

> Test failure after new randomized values in LuceneTestCase
> ----------------------------------------------------------
>
>                 Key: LUCENE-9168
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9168
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Ignacio Vera
>            Priority: Major
>             Fix For: 8.5
>
>
> The error can be reproduced in branch_8x:
> {code:java}
> ant test  -Dtestcase=TestPointValues -Dtests.method=testTieBreakByDocID 
> -Dtests.seed=A7EAA3BF5766C7C0 -Dtests.slow=true -Dtests.badapples=true 
> -Dtests.locale=my -Dtests.timezone=Singapore -Dtests.asserts=true 
> -Dtests.file.encoding=ISO-8859-1 {code}
>  
> And the error looks like:
> {code:java}
>  07:08:28    [junit4]    > Caused by: 
> org.apache.lucene.index.MergePolicy$MergeException: 
> java.nio.file.FileSystemException: 
> /var/lib/jenkins/workspace/apache+lucene-solr+branch_8x/lucene/build/core/test/J1/temp/lucene.index.TestPointValues_A7EAA3BF5766C7C0-001/tempDir-002/_bd.tip:
>  Too many open files{code}
>  
> I had a look into the issue and the indexWriter in the test is configured to 
> buffer very few docs:
> c.setMaxBufferedDocs(TestUtil.nextInt(r, 2, 15));
>  
> But the merging factor (LogMergePolicy) is too high:
> logmp.setMergeFactor(TestUtil.nextInt(r, 100, 500));
>  
> The test is creating too many files and running over the limit. The last 
> statement was changed in LUCENE-9157 from:
>  
> logmp.setMergeFactor(TestUtil.nextInt(r, 10, 50));
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to