[
https://issues.apache.org/jira/browse/LUCENE-6431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14499409#comment-14499409
]
Dawid Weiss commented on LUCENE-6431:
-------------------------------------
Ok. I guess you could do it by combining a static ExtraFs rule (and instance)
with a before-test rule that would reset extrafs's random seed before every
test. This way every test gets its independent ExtraFs call chain. But it adds
complexity and I don't think it buys us anything (or not much).
> 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: [email protected]
For additional commands, e-mail: [email protected]