[ https://issues.apache.org/jira/browse/LUCENE-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219111#comment-13219111 ]
Michael McCandless commented on LUCENE-3808: -------------------------------------------- bq. So... the biggest issue I'm facing is indeed with Random sharing across threads. I think we should always (try to!) make a thread-private, consistently seed'd Random instance... True, the scheduling of the threads by the JVM will always be a source of non-determinism, but we shouldn't make that worse. And, for some bugs, having consistent thread-private Random will make the bug fully reproducible (ie if the bug isn't a thread scheduling issue). > Switch LuceneTestCaseRunner to RandomizedRunner. Enforce Random sharing > contracts. Enforce thread leaks. > -------------------------------------------------------------------------------------------------------- > > Key: LUCENE-3808 > URL: https://issues.apache.org/jira/browse/LUCENE-3808 > Project: Lucene - Java > Issue Type: Sub-task > Components: general/test > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Minor > Fix For: 4.0 > > > Dev. branch at: https://github.com/dweiss/lucene_solr/tree/rr > Switch the runner to RandomizedRunner. Enforce the following: > - (/) Random sharing will result in a failure/ exception. > - (/) -Add a validator for testXXX without @Test annotation.- (custom test > provider added). > - Thread leaks will result in a failure (add lingering if needed, but no > ignores). > - Add a validator for @Test method overrides (no-no). > - Add a validator for static hook shadowing (no-no). > - Modify custom execution groups in LTC to be real @Groups. -- 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org