hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7582) Unit test execution mode that randomizes test order
Date Wed, 16 Jan 2013 17:44:13 GMT

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

Andrew Purtell commented on HBASE-7582:
---------------------------------------

I should say pseudorandomized with the ability to set the seed for repeatability. This may
be a tall/impossible order. I'm not familiar with JUnit/Surefire internals sufficient.y 
                
> Unit test execution mode that randomizes test order
> ---------------------------------------------------
>
>                 Key: HBASE-7582
>                 URL: https://issues.apache.org/jira/browse/HBASE-7582
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>            Reporter: Andrew Purtell
>            Priority: Minor
>
> I've also come around to agreeing with Jon Hseih that we should have a test mode that
somehow randomizes test order to catch issues where unit test cases are written with the assumption
of a certain order. It should not be on by default but can be enabled when evaluating patches
for commit that include new tests.
> Case in point is HBASE-7581, which seems to be due to a new test added in HBASE-5498.
The patch on HBASE-5498 tested out all green in local tests prior to commit. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message