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-6431) Make extrasfs reproducible
Date Fri, 17 Apr 2015 11:07:58 GMT

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

Robert Muir commented on LUCENE-6431:
-------------------------------------

I'm not worried about "randomness" of this thing at all. That's a false economy.

Reproducibility has to be number one. I'll commit this and anything else is sugar-on-top.

> Make extrasfs reproducible
> --------------------------
>
>                 Key: LUCENE-6431
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6431
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-6431.patch
>
>
> Today this is really bad, it can easily cause non-reproducible test failures. Its a per-class
thing, but its decisions are based on previous events happening for that class (e.g. directory
operations). 
> Even using the filename can't work, its setup so early in the process, before test framework
even ensures java.io.tempdir and similar exist. Even disregarding that, test files use a temp
directory facility and those names are not reproducible (they depend on what already exists,
e.g. from a previous test run).



--
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


Mime
View raw message