You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2016/06/24 03:55:16 UTC

[jira] [Updated] (SOLR-8546) TestLazyCores is failing a lot on the Jenkins cluster.

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

Erick Erickson updated SOLR-8546:
---------------------------------
    Attachment: SOLR-8546.patch

Oh my this is embarrassing, how long this has lingered. I finally got it to fail locally and...

The good news is it's a test problem, not the code.
The good news is that the test fix is trivial.

The bad news is it's so stupid. There are two calls to random.nextint() that look like this
int blah = random.nextInt(10000);
some stuff
int blort = random.nextInt(blah).

Whenever blah == 0 it throws an error since blah must be positive.

Checking this in, but I'll keep this JIRA open for a while to see if Jenkins is happy as well as beasting it a _lot_ locally.

> TestLazyCores is failing a lot on the Jenkins cluster.
> ------------------------------------------------------
>
>                 Key: SOLR-8546
>                 URL: https://issues.apache.org/jira/browse/SOLR-8546
>             Project: Solr
>          Issue Type: Test
>            Reporter: Mark Miller
>            Assignee: Erick Erickson
>         Attachments: SOLR-8546.patch
>
>
> Looks like two issues:
> * A thread leak due to 3DsearcherExecutor
> * An ObjectTracker fail because a SolrCore is left unclosed.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org