You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2015/07/16 16:20:04 UTC

[jira] [Updated] (LUCENE-3986) Support running tests with a simple, non-asserting (and possibly shared) Random

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

Dawid Weiss updated LUCENE-3986:
--------------------------------
    Fix Version/s:     (was: 4.9)

> Support running tests with a simple, non-asserting (and possibly shared) Random
> -------------------------------------------------------------------------------
>
>                 Key: LUCENE-3986
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3986
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/test
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>             Fix For: Trunk
>
>
> Robert asked for it. Calling random() (and its methods) can obscure memory visibility issues (because random() is thread local, context-sensitive, etc.). An option (or randomly selected mode) of running with a simple Random (static/ test method level only) would simulate the framework as it was before (reading -- possibly non-reproducible thread races but at the same time testing memory visibility issues in the core code).



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