lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3808) Switch LuceneTestCaseRunner to RandomizedRunner. Enforce Random sharing contracts. Enforce thread leaks.
Date Wed, 29 Feb 2012 11:39:58 GMT

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

Dawid Weiss commented on LUCENE-3808:
-------------------------------------

I've fixed all offending tests under lucene/
https://github.com/dweiss/lucene_solr/commit/1d9a7effd06cfc0b393b7e00b8b7f755bd967700

All tests pass with RandomizedRunner there and the output from tests that failed was an excellent
source to quickly get at the offending place. 

This looks very good to me so far. Solr and modules next.
                
> 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).
> - (/) Make sure tests are executed with assertions enabled (at least for solr/lucene
packages).
> - 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message