lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3986) Support running tests with a simple, non-asserting (and possibly shared) Random
Date Sat, 14 Apr 2012 12:35:16 GMT
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 - Java
          Issue Type: Sub-task
          Components: general/test
            Reporter: Dawid Weiss
            Assignee: Dawid Weiss
            Priority: Minor
             Fix For: 4.0


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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