lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3176) TestNRTThreads test failure
Date Wed, 08 Jun 2011 13:17:59 GMT

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

Robert Muir commented on LUCENE-3176:
-------------------------------------

taking a look at this, I don't like the way _TestUtil.getTempDir(String desc) was working
before... it was basically desc + LTC.random.nextInt(xxx), so if you wired the seed like I
did, and somehow stuff doesnt totally clean up, then its easy to see how it could return an
already-created dir.

I changed this method to use _TestUtil.createTempFile... I think this is much safer.

> TestNRTThreads test failure
> ---------------------------
>
>                 Key: LUCENE-3176
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3176
>             Project: Lucene - Java
>          Issue Type: Bug
>         Environment: trunk
>            Reporter: Robert Muir
>            Assignee: Michael McCandless
>
> hit a fail in TestNRTThreads running tests over and over:

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message